Changed background and text colors of confirm buttons on disclaimer and restore wallet screens.

This commit is contained in:
M 2020-10-26 11:58:16 +02:00
parent f7fe9d76a5
commit 44e55f0bc4
3 changed files with 24 additions and 11 deletions

View file

@ -305,14 +305,19 @@ class DisclaimerBodyState extends State<DisclaimerPageBody> {
Container( Container(
padding: EdgeInsets.only(left: 24.0, right: 24.0, bottom: 24.0), padding: EdgeInsets.only(left: 24.0, right: 24.0, bottom: 24.0),
child: PrimaryButton( child: PrimaryButton(
onPressed: _checked onPressed: _checked
? () => ? () =>
Navigator.of(context).popAndPushNamed(Routes.welcome) Navigator.of(context).popAndPushNamed(Routes.welcome)
: null, : null,
text: 'Accept', text: 'Accept',
color: Colors.green, color: Theme.of(context)
textColor: Colors.white, .accentTextTheme
), .subtitle
.decorationColor,
textColor: Theme.of(context)
.accentTextTheme
.headline
.decorationColor),
), ),
], ],
], ],

View file

@ -103,8 +103,16 @@ class WalletRestorePage extends BasePage {
onPressed: () => onPressed: () =>
walletRestoreViewModel.create(options: _credentials()), walletRestoreViewModel.create(options: _credentials()),
text: S.of(context).restore_recover, text: S.of(context).restore_recover,
color: Colors.green, color: Theme
textColor: Colors.white, .of(context)
.accentTextTheme
.subtitle
.decorationColor,
textColor: Theme
.of(context)
.accentTextTheme
.headline
.decorationColor,
isLoading: walletRestoreViewModel.state is IsExecutingState); isLoading: walletRestoreViewModel.state is IsExecutingState);
}, },
)) ))

View file

@ -645,7 +645,7 @@ packages:
name: path_provider name: path_provider
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "1.6.21" version: "1.6.22"
path_provider_linux: path_provider_linux:
dependency: transitive dependency: transitive
description: description: