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(
padding: EdgeInsets.only(left: 24.0, right: 24.0, bottom: 24.0),
child: PrimaryButton(
onPressed: _checked
? () =>
Navigator.of(context).popAndPushNamed(Routes.welcome)
: null,
text: 'Accept',
color: Colors.green,
textColor: Colors.white,
),
onPressed: _checked
? () =>
Navigator.of(context).popAndPushNamed(Routes.welcome)
: null,
text: 'Accept',
color: Theme.of(context)
.accentTextTheme
.subtitle
.decorationColor,
textColor: Theme.of(context)
.accentTextTheme
.headline
.decorationColor),
),
],
],

View file

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

View file

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