Pass wallet type when navigating Fix UI padding
Pass wallet type when navigating Fix UI padding
OmarHatem committed
Oct 5, 2022 at 20:07 UTC
3c04bd9aa5899f3e626876af28adc4c270ab6546
2 files changed
+4
-3
lib/src/screens/new_wallet/advanced_privacy_settings_page.dart
+2
-2
@@ -50,7 +50,7 @@ class _AdvancedPrivacySettingsBodyState
50
return Container(
51
padding: EdgeInsets.only(top: 24),
52
child: ScrollableWithBottomSection(
53
- contentPadding: EdgeInsets.only(left: 24, right: 24, bottom: 24),
53
+ contentPadding: EdgeInsets.only(bottom: 24),
54
content: Column(
55
crossAxisAlignment: CrossAxisAlignment.center,
56
children: [
@@ -67,7 +67,7 @@ class _AdvancedPrivacySettingsBodyState
67
builder: (_) {
68
if (privacySettingsViewModel.addCustomNode) {
69
return Padding(
70
- padding: EdgeInsets.only(top: 24),
70
+ padding: EdgeInsets.only(left: 24, right: 24, top: 24),
71
child: NodeForm(
72
formKey: _formKey,
73
nodeViewModel: nodeViewModel,
lib/src/screens/new_wallet/new_wallet_page.dart
+2
-1
@@ -216,7 +216,8 @@ class _WalletNameFormState extends State<WalletNameForm> {
216
const SizedBox(height: 25),
217
GestureDetector(
218
onTap: () {
219
- Navigator.of(context).pushNamed(Routes.privacySettings);
219
+ Navigator.of(context)
220
+ .pushNamed(Routes.privacySettings, arguments: _walletNewVM.type);
221
},
222
child: Text(S.of(context).advanced_privacy_settings),
223
),