From 7e93af51b088b1e5c0ac74ab524378f657a8c229 Mon Sep 17 00:00:00 2001 From: Matthew Fosse Date: Fri, 1 Mar 2024 14:45:37 -0800 Subject: [PATCH] fix text on invoice popup --- .../receive/lightning_invoice_page.dart | 20 +++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) diff --git a/lib/src/screens/receive/lightning_invoice_page.dart b/lib/src/screens/receive/lightning_invoice_page.dart index a88261a35..e23cdcb9a 100644 --- a/lib/src/screens/receive/lightning_invoice_page.dart +++ b/lib/src/screens/receive/lightning_invoice_page.dart @@ -189,7 +189,7 @@ class LightningInvoicePage extends BasePage { return Expanded( child: Text( finalText, - maxLines: 4, + maxLines: 5, style: TextStyle( fontSize: 14, fontWeight: FontWeight.w500, @@ -306,13 +306,17 @@ class LightningInvoicePage extends BasePage { ), ), Expanded( - child: Text( - S.of(context).lightning_invoice_warning, - maxLines: 5, - style: TextStyle( - fontSize: 11, - fontWeight: FontWeight.w500, - color: Theme.of(context).extension()!.textColor, + child: Material( + color: Colors.transparent, + child: Text( + S.of(context).lightning_invoice_warning, + maxLines: 5, + style: TextStyle( + fontSize: 12, + fontWeight: FontWeight.w500, + color: + Theme.of(context).extension()!.textColor, + ), ), ), ),