This commit is contained in:
fosse 2024-02-28 11:40:39 -05:00
parent 5fcf60aa28
commit 2a50dc0205
3 changed files with 2 additions and 3 deletions

View file

@ -161,7 +161,7 @@ class LightningInvoicePage extends BasePage {
future: lightningInvoicePageViewModel.lightningViewModel.invoiceLimitsSats(), future: lightningInvoicePageViewModel.lightningViewModel.invoiceLimitsSats(),
builder: (context, snapshot) { builder: (context, snapshot) {
if (snapshot.data == null) { if (snapshot.data == null) {
return SizedBox(); return CircularProgressIndicator();
} }
String min = (snapshot.data as List<String>)[0]; String min = (snapshot.data as List<String>)[0];
min = satsToLightningString(double.parse(min)); min = satsToLightningString(double.parse(min));

View file

@ -204,7 +204,7 @@ class LightningReceiveOnchainPage extends BasePage {
future: lightningViewModel.receiveOnchain(), future: lightningViewModel.receiveOnchain(),
builder: (context, snapshot) { builder: (context, snapshot) {
if (snapshot.data == null) { if (snapshot.data == null) {
return SizedBox(); return CircularProgressIndicator();
} }
String min = (snapshot.data as List<String>)[1]; String min = (snapshot.data as List<String>)[1];
String max = (snapshot.data as List<String>)[2]; String max = (snapshot.data as List<String>)[2];

View file

@ -123,7 +123,6 @@ class AnonpayCurrencyInputField extends StatelessWidget {
], ],
hintText: hasDecimals ? '0.0000' : '0', hintText: hasDecimals ? '0.0000' : '0',
borderColor: Colors.transparent, borderColor: Colors.transparent,
//widget.borderColor,
textStyle: TextStyle( textStyle: TextStyle(
fontSize: 16, fontWeight: FontWeight.w600, color: Colors.white), fontSize: 16, fontWeight: FontWeight.w600, color: Colors.white),
placeholderTextStyle: TextStyle( placeholderTextStyle: TextStyle(