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: Text( child: Material(
S.of(context).lightning_invoice_warning, color: Colors.transparent,
maxLines: 5, child: Text(
style: TextStyle( S.of(context).lightning_invoice_warning,
fontSize: 11, maxLines: 5,
fontWeight: FontWeight.w500, style: TextStyle(
color: Theme.of(context).extension<DashboardPageTheme>()!.textColor, fontSize: 12,
fontWeight: FontWeight.w500,
color:
Theme.of(context).extension<DashboardPageTheme>()!.textColor,
),
), ),
), ),
), ),