mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2025-01-23 03:05:11 +00:00
fixes
This commit is contained in:
parent
5fcf60aa28
commit
2a50dc0205
3 changed files with 2 additions and 3 deletions
|
@ -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));
|
||||||
|
|
|
@ -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];
|
||||||
|
|
|
@ -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(
|
||||||
|
|
Loading…
Reference in a new issue