fix text on invoice popup

This commit is contained in:
Matthew Fosse 2024-03-01 14:45:37 -08:00
parent 6aec8e8122
commit 7e93af51b0

View file

@ -189,7 +189,7 @@ class LightningInvoicePage extends BasePage {
return Expanded( return Expanded(
child: Text( child: Text(
finalText, finalText,
maxLines: 4, maxLines: 5,
style: TextStyle( style: TextStyle(
fontSize: 14, fontSize: 14,
fontWeight: FontWeight.w500, fontWeight: FontWeight.w500,
@ -306,13 +306,17 @@ class LightningInvoicePage extends BasePage {
), ),
), ),
Expanded( Expanded(
child: Material(
color: Colors.transparent,
child: Text( child: Text(
S.of(context).lightning_invoice_warning, S.of(context).lightning_invoice_warning,
maxLines: 5, maxLines: 5,
style: TextStyle( style: TextStyle(
fontSize: 11, fontSize: 12,
fontWeight: FontWeight.w500, fontWeight: FontWeight.w500,
color: Theme.of(context).extension<DashboardPageTheme>()!.textColor, color:
Theme.of(context).extension<DashboardPageTheme>()!.textColor,
),
), ),
), ),
), ),