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

OleksandrSobol committed Feb 1, 2021 at 20:27 UTC 12a7c32826e2b44940817f3f8db0b69235c64ff8
6 files changed +7 -6
lib/src/screens/restore/restore_from_backup_page.dart
+1 -1
@@ -40,7 +40,7 @@ class RestoreFromBackupPage extends BasePage {
40 });
41
42 return Container(
43 - padding: EdgeInsets.only(bottom: 30, left: 25, right: 25),
43 + padding: EdgeInsets.only(bottom: 24, left: 24, right: 24),
44 child: Column(children: [
45 Expanded(
46 child: Container(
lib/src/screens/restore/restore_wallet_from_seed_page.dart
+2 -2
@@ -82,7 +82,7 @@ class RestoreWalletFromSeedPage extends BasePage {
82 activeDotColor: Theme.of(context).hintColor),
83 )),
84 Padding(
85 - padding: EdgeInsets.only(top: 20, bottom: 40, left: 25, right: 25),
85 + padding: EdgeInsets.only(top: 20, bottom: 24, left: 24, right: 24),
86 child: PrimaryButton(
87 text: S.of(context).restore_recover,
88 isDisabled: false,
@@ -158,7 +158,7 @@ class _RestoreFromSeedFormState extends State<RestoreFromSeedForm> {
158 onTap: () =>
159 SystemChannels.textInput.invokeMethod<void>('TextInput.hide'),
160 child: Container(
161 - padding: EdgeInsets.only(left: 25, right: 25),
161 + padding: EdgeInsets.only(left: 24, right: 24),
162 // color: Colors.blue,
163 // height: 300,
164 child: Column(children: [
lib/src/screens/restore/wallet_restore_from_keys_form.dart
+1 -1
@@ -44,7 +44,7 @@ class WalletRestoreFromKeysFromState extends State<WalletRestoreFromKeysFrom> {
44 @override
45 Widget build(BuildContext context) {
46 return Container(
47 - padding: EdgeInsets.only(left: 25, right: 25),
47 + padding: EdgeInsets.only(left: 24, right: 24),
48 child: Form(
49 key: formKey,
50 child: Column(children: <Widget>[
lib/src/screens/restore/wallet_restore_from_seed_form.dart
+1 -1
@@ -49,7 +49,7 @@ class WalletRestoreFromSeedFormState extends State<WalletRestoreFromSeedForm> {
49 @override
50 Widget build(BuildContext context) {
51 return Container(
52 - padding: EdgeInsets.only(left: 25, right: 25),
52 + padding: EdgeInsets.only(left: 24, right: 24),
53 child: Column(children: [
54 SeedWidget(
55 key: seedWidgetStateKey, language: language, type: widget.type),
lib/src/screens/restore/wallet_restore_page.dart
+1 -1
@@ -130,7 +130,7 @@ class WalletRestorePage extends BasePage {
130 activeDotColor: Theme.of(context).hintColor),
131 )),
132 Padding(
133 - padding: EdgeInsets.only(top: 20, bottom: 40, left: 25, right: 25),
133 + padding: EdgeInsets.only(top: 20, bottom: 24, left: 24, right: 24),
134 child: Observer(
135 builder: (context) {
136 return LoadingPrimaryButton(
lib/src/screens/wallet_list/wallet_list_page.dart
+1
@@ -161,6 +161,7 @@ class WalletListBodyState extends State<WalletListBody> {
161 }),
162 ),
163 ),
164 + bottomSectionPadding: EdgeInsets.only(bottom: 24, right: 24, left: 24),
165 bottomSection: Column(children: <Widget>[
166 PrimaryImageButton(
167 onPressed: () => Navigator.of(context).pushNamed(Routes.newWalletType),