diff --git a/lib/src/screens/dashboard/widgets/address_page.dart b/lib/src/screens/dashboard/widgets/address_page.dart index 16153864f..da9391131 100644 --- a/lib/src/screens/dashboard/widgets/address_page.dart +++ b/lib/src/screens/dashboard/widgets/address_page.dart @@ -75,7 +75,7 @@ class AddressPage extends StatelessWidget { addressListViewModel: addressListViewModel, amountTextFieldFocusNode: _cryptoAmountFocus, isAmountFieldShow: !addressListViewModel.hasAccounts, - isBright: walletViewModel.settingsStore.currentTheme.type == ThemeType.bright)) + isLight: walletViewModel.settingsStore.currentTheme.type == ThemeType.light)) ), Observer(builder: (_) { return addressListViewModel.hasAddressList diff --git a/lib/src/screens/receive/receive_page.dart b/lib/src/screens/receive/receive_page.dart index 945eb9d6f..5d37e507d 100644 --- a/lib/src/screens/receive/receive_page.dart +++ b/lib/src/screens/receive/receive_page.dart @@ -129,7 +129,7 @@ class ReceivePage extends BasePage { addressListViewModel: addressListViewModel, isAmountFieldShow: true, amountTextFieldFocusNode: _cryptoAmountFocus, - isBright: currentTheme.type == ThemeType.bright), + isLight: currentTheme.type == ThemeType.light), ), Observer( builder: (_) => ListView.separated( diff --git a/lib/src/screens/receive/widgets/qr_widget.dart b/lib/src/screens/receive/widgets/qr_widget.dart index 282efc967..b85979f5b 100644 --- a/lib/src/screens/receive/widgets/qr_widget.dart +++ b/lib/src/screens/receive/widgets/qr_widget.dart @@ -14,7 +14,7 @@ class QRWidget extends StatelessWidget { {@required this.addressListViewModel, this.isAmountFieldShow = false, this.amountTextFieldFocusNode, - this.isBright}) + this.isLight}) : amountController = TextEditingController(), _formKey = GlobalKey() { amountController.addListener(() => addressListViewModel.amount = @@ -26,7 +26,7 @@ class QRWidget extends StatelessWidget { final TextEditingController amountController; final FocusNode amountTextFieldFocusNode; final GlobalKey _formKey; - final bool isBright; + final bool isLight; @override Widget build(BuildContext context) { @@ -57,7 +57,7 @@ class QRWidget extends StatelessWidget { ), child: QrImage( data: addressListViewModel.uri.toString(), - backgroundColor: isBright ? Colors.black : Colors.transparent, + backgroundColor: isLight ? Colors.transparent : Colors.black, foregroundColor: Theme.of(context).accentTextTheme. display3.backgroundColor, ),