mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2025-01-23 19:16:09 +00:00
Changed background and text colors of confirm buttons on disclaimer and restore wallet screens.
This commit is contained in:
parent
f7fe9d76a5
commit
44e55f0bc4
3 changed files with 24 additions and 11 deletions
|
@ -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),
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
|
|
|
@ -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);
|
||||||
},
|
},
|
||||||
))
|
))
|
||||||
|
|
|
@ -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:
|
||||||
|
|
Loading…
Reference in a new issue