From 2a50dc0205e29fb42c567a4caee90adbe3de569a Mon Sep 17 00:00:00 2001 From: fosse Date: Wed, 28 Feb 2024 11:40:39 -0500 Subject: [PATCH] fixes --- lib/src/screens/receive/lightning_invoice_page.dart | 2 +- lib/src/screens/receive/lightning_receive_page.dart | 2 +- .../screens/receive/widgets/anonpay_currency_input_field.dart | 1 - 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/lib/src/screens/receive/lightning_invoice_page.dart b/lib/src/screens/receive/lightning_invoice_page.dart index 29a8ca5ac..7f1f7f7ce 100644 --- a/lib/src/screens/receive/lightning_invoice_page.dart +++ b/lib/src/screens/receive/lightning_invoice_page.dart @@ -161,7 +161,7 @@ class LightningInvoicePage extends BasePage { future: lightningInvoicePageViewModel.lightningViewModel.invoiceLimitsSats(), builder: (context, snapshot) { if (snapshot.data == null) { - return SizedBox(); + return CircularProgressIndicator(); } String min = (snapshot.data as List)[0]; min = satsToLightningString(double.parse(min)); diff --git a/lib/src/screens/receive/lightning_receive_page.dart b/lib/src/screens/receive/lightning_receive_page.dart index e7b257813..384d8e65b 100644 --- a/lib/src/screens/receive/lightning_receive_page.dart +++ b/lib/src/screens/receive/lightning_receive_page.dart @@ -204,7 +204,7 @@ class LightningReceiveOnchainPage extends BasePage { future: lightningViewModel.receiveOnchain(), builder: (context, snapshot) { if (snapshot.data == null) { - return SizedBox(); + return CircularProgressIndicator(); } String min = (snapshot.data as List)[1]; String max = (snapshot.data as List)[2]; diff --git a/lib/src/screens/receive/widgets/anonpay_currency_input_field.dart b/lib/src/screens/receive/widgets/anonpay_currency_input_field.dart index f4fa8e292..76cef7875 100644 --- a/lib/src/screens/receive/widgets/anonpay_currency_input_field.dart +++ b/lib/src/screens/receive/widgets/anonpay_currency_input_field.dart @@ -123,7 +123,6 @@ class AnonpayCurrencyInputField extends StatelessWidget { ], hintText: hasDecimals ? '0.0000' : '0', borderColor: Colors.transparent, - //widget.borderColor, textStyle: TextStyle( fontSize: 16, fontWeight: FontWeight.w600, color: Colors.white), placeholderTextStyle: TextStyle(