diff --git a/src/app/shared/zap-dialog/zap-dialog.component.html b/src/app/shared/zap-dialog/zap-dialog.component.html index 25ce564..38fb3c7 100644 --- a/src/app/shared/zap-dialog/zap-dialog.component.html +++ b/src/app/shared/zap-dialog/zap-dialog.component.html @@ -1,14 +1,7 @@
- +
@@ -16,139 +9,103 @@
-
- Unable to send Zap to {{ profileName }}. Their profile does not have any lightning payment address, please let them know so you can zap them in the future. -
+
Fetching invoice...
-
+
Unable to send Zap to {{ profileName }}. Their profile does not have any lightning payment address, please let them know so you can zap them in the future.
-
-
- -
-
- -
-
- -
-
- -
-
- -
-
- -
-
- -
-
- -
-
- -
-
- -
-
- -
-
- -
-
-
- - Zap Amount - - - - - - Please enter an amount between {{minSendable}} and {{maxSendable}}. - The minimum amount you can send is {{minSendable}}. - The maximum amount you can send is {{maxSendable}}. - The maximum amount you can send is {{maxSendable}}. - The maximum amount you can send is {{maxSendable}}. - Please enter a valid amount. - - +
+
+
+
- -
-
-
- - Comment - - - Please enter a comment. - - +
+
-
-
-
- -
-
- +
+
- - {{error}} - - +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+
+ + Zap Amount + + + + + + Please enter an amount between {{ minSendable }} and {{ maxSendable }}. + The minimum amount you can send is {{ minSendable }}. + The maximum amount you can send is {{ maxSendable }}. + The maximum amount you can send is {{ maxSendable }}. + The maximum amount you can send is {{ maxSendable }}. + Please enter a valid amount. + + +
+
+
+
+ + Comment + + Please enter a comment. + +
+
+
+
+ +
+
+ +
+
+ + + {{ error }} + +
+
-
- diff --git a/src/app/shared/zap-dialog/zap-dialog.component.ts b/src/app/shared/zap-dialog/zap-dialog.component.ts index 7a6764f..c21359c 100644 --- a/src/app/shared/zap-dialog/zap-dialog.component.ts +++ b/src/app/shared/zap-dialog/zap-dialog.component.ts @@ -68,6 +68,7 @@ export class ZapDialogComponent implements OnInit { } canZap = true; + loading = true; async fetchPayReq(): Promise { this.payRequest = await this.fetchZapper(); @@ -78,6 +79,8 @@ export class ZapDialogComponent implements OnInit { this.canZap = true; } + this.loading = false; + this.recofigureFormValidators(); }