fix: anonpay pages title and icon colors

This commit is contained in:
Rafael Saes 2023-07-11 17:06:30 -03:00
parent 69c68b3e30
commit 7847a496ab
2 changed files with 6 additions and 3 deletions

View file

@ -44,6 +44,9 @@ class AnonPayInvoicePage extends BasePage {
bool effectsInstalled = false;
@override
bool get gradientBackground => true;
@override
bool get resizeToAvoidBottomInset => false;

View file

@ -33,7 +33,7 @@ class AnonPayReceivePage extends BasePage {
Widget leading(BuildContext context) {
final _backButton = Icon(
Icons.arrow_back_ios,
color: Theme.of(context).extension<DashboardPageTheme>()!.textColor,
color: pageIconColor(context),
size: 16,
);
@ -60,7 +60,7 @@ class AnonPayReceivePage extends BasePage {
fontSize: 18.0,
fontWeight: FontWeight.bold,
fontFamily: 'Lato',
color: Theme.of(context).extension<DashboardPageTheme>()!.textColor),
color: titleColor(context)),
),
Text(
invoiceInfo is AnonpayInvoiceInfo
@ -91,7 +91,7 @@ class AnonPayReceivePage extends BasePage {
),
icon: Icon(
Icons.edit,
color: Theme.of(context).cardColor,
color: pageIconColor(context),
size: 22.0,
),
),