small fix

This commit is contained in:
fosse 2024-02-27 16:51:54 -05:00
parent cd8ad676f5
commit 0953cd5bef

View file

@ -164,7 +164,7 @@ class LightningInvoicePage extends BasePage {
return SizedBox(); return SizedBox();
} }
String min = (snapshot.data as List<String>)[0]; String min = (snapshot.data as List<String>)[0];
min = bitcoinAmountToLightningString(amount: int.parse(min) ~/ 1000); min = satsToLightningString(double.parse(min));
return Expanded( return Expanded(
child: Text( child: Text(
// S.of(context).lightning_invoice_min(min) // S.of(context).lightning_invoice_min(min)