From 12a7c32826e2b44940817f3f8db0b69235c64ff8 Mon Sep 17 00:00:00 2001 From: OleksandrSobol Date: Mon, 1 Feb 2021 20:27:16 +0200 Subject: [PATCH] CAKE-252 | UI fixed for buttons on the restore_from_backup_page.dart, restore_wallet_from_seed_page.dart, wallet_restore_from_keys_form.dart, wallet_restore_from_seed_form.dart, wallet_restore_page.dart, wallet_list_page.dart --- lib/src/screens/restore/restore_from_backup_page.dart | 2 +- lib/src/screens/restore/restore_wallet_from_seed_page.dart | 4 ++-- lib/src/screens/restore/wallet_restore_from_keys_form.dart | 2 +- lib/src/screens/restore/wallet_restore_from_seed_form.dart | 2 +- lib/src/screens/restore/wallet_restore_page.dart | 2 +- lib/src/screens/wallet_list/wallet_list_page.dart | 1 + 6 files changed, 7 insertions(+), 6 deletions(-) diff --git a/lib/src/screens/restore/restore_from_backup_page.dart b/lib/src/screens/restore/restore_from_backup_page.dart index dcc76cb6c..3cb7f2d55 100644 --- a/lib/src/screens/restore/restore_from_backup_page.dart +++ b/lib/src/screens/restore/restore_from_backup_page.dart @@ -40,7 +40,7 @@ class RestoreFromBackupPage extends BasePage { }); return Container( - padding: EdgeInsets.only(bottom: 30, left: 25, right: 25), + padding: EdgeInsets.only(bottom: 24, left: 24, right: 24), child: Column(children: [ Expanded( child: Container( diff --git a/lib/src/screens/restore/restore_wallet_from_seed_page.dart b/lib/src/screens/restore/restore_wallet_from_seed_page.dart index 6c133ad5e..d81c2eb28 100644 --- a/lib/src/screens/restore/restore_wallet_from_seed_page.dart +++ b/lib/src/screens/restore/restore_wallet_from_seed_page.dart @@ -82,7 +82,7 @@ class RestoreWalletFromSeedPage extends BasePage { activeDotColor: Theme.of(context).hintColor), )), Padding( - padding: EdgeInsets.only(top: 20, bottom: 40, left: 25, right: 25), + padding: EdgeInsets.only(top: 20, bottom: 24, left: 24, right: 24), child: PrimaryButton( text: S.of(context).restore_recover, isDisabled: false, @@ -158,7 +158,7 @@ class _RestoreFromSeedFormState extends State { onTap: () => SystemChannels.textInput.invokeMethod('TextInput.hide'), child: Container( - padding: EdgeInsets.only(left: 25, right: 25), + padding: EdgeInsets.only(left: 24, right: 24), // color: Colors.blue, // height: 300, child: Column(children: [ diff --git a/lib/src/screens/restore/wallet_restore_from_keys_form.dart b/lib/src/screens/restore/wallet_restore_from_keys_form.dart index ade173d6f..c987a5a5b 100644 --- a/lib/src/screens/restore/wallet_restore_from_keys_form.dart +++ b/lib/src/screens/restore/wallet_restore_from_keys_form.dart @@ -44,7 +44,7 @@ class WalletRestoreFromKeysFromState extends State { @override Widget build(BuildContext context) { return Container( - padding: EdgeInsets.only(left: 25, right: 25), + padding: EdgeInsets.only(left: 24, right: 24), child: Form( key: formKey, child: Column(children: [ diff --git a/lib/src/screens/restore/wallet_restore_from_seed_form.dart b/lib/src/screens/restore/wallet_restore_from_seed_form.dart index e94f63bf0..9955750ab 100644 --- a/lib/src/screens/restore/wallet_restore_from_seed_form.dart +++ b/lib/src/screens/restore/wallet_restore_from_seed_form.dart @@ -49,7 +49,7 @@ class WalletRestoreFromSeedFormState extends State { @override Widget build(BuildContext context) { return Container( - padding: EdgeInsets.only(left: 25, right: 25), + padding: EdgeInsets.only(left: 24, right: 24), child: Column(children: [ SeedWidget( key: seedWidgetStateKey, language: language, type: widget.type), diff --git a/lib/src/screens/restore/wallet_restore_page.dart b/lib/src/screens/restore/wallet_restore_page.dart index adae48c89..1f34d4a79 100644 --- a/lib/src/screens/restore/wallet_restore_page.dart +++ b/lib/src/screens/restore/wallet_restore_page.dart @@ -130,7 +130,7 @@ class WalletRestorePage extends BasePage { activeDotColor: Theme.of(context).hintColor), )), Padding( - padding: EdgeInsets.only(top: 20, bottom: 40, left: 25, right: 25), + padding: EdgeInsets.only(top: 20, bottom: 24, left: 24, right: 24), child: Observer( builder: (context) { return LoadingPrimaryButton( diff --git a/lib/src/screens/wallet_list/wallet_list_page.dart b/lib/src/screens/wallet_list/wallet_list_page.dart index de0addd1d..49bcb368d 100644 --- a/lib/src/screens/wallet_list/wallet_list_page.dart +++ b/lib/src/screens/wallet_list/wallet_list_page.dart @@ -161,6 +161,7 @@ class WalletListBodyState extends State { }), ), ), + bottomSectionPadding: EdgeInsets.only(bottom: 24, right: 24, left: 24), bottomSection: Column(children: [ PrimaryImageButton( onPressed: () => Navigator.of(context).pushNamed(Routes.newWalletType),