mirror of
https://github.com/Such-Software/hash-wallet.git
synced 2026-10-18 05:51:34 +02:00
Pass wallet type when navigating
Fix UI padding
This commit is contained in:
@@ -50,7 +50,7 @@ class _AdvancedPrivacySettingsBodyState
|
||||
return Container(
|
||||
padding: EdgeInsets.only(top: 24),
|
||||
child: ScrollableWithBottomSection(
|
||||
contentPadding: EdgeInsets.only(left: 24, right: 24, bottom: 24),
|
||||
contentPadding: EdgeInsets.only(bottom: 24),
|
||||
content: Column(
|
||||
crossAxisAlignment: CrossAxisAlignment.center,
|
||||
children: [
|
||||
@@ -67,7 +67,7 @@ class _AdvancedPrivacySettingsBodyState
|
||||
builder: (_) {
|
||||
if (privacySettingsViewModel.addCustomNode) {
|
||||
return Padding(
|
||||
padding: EdgeInsets.only(top: 24),
|
||||
padding: EdgeInsets.only(left: 24, right: 24, top: 24),
|
||||
child: NodeForm(
|
||||
formKey: _formKey,
|
||||
nodeViewModel: nodeViewModel,
|
||||
|
||||
@@ -216,7 +216,8 @@ class _WalletNameFormState extends State<WalletNameForm> {
|
||||
const SizedBox(height: 25),
|
||||
GestureDetector(
|
||||
onTap: () {
|
||||
Navigator.of(context).pushNamed(Routes.privacySettings);
|
||||
Navigator.of(context)
|
||||
.pushNamed(Routes.privacySettings, arguments: _walletNewVM.type);
|
||||
},
|
||||
child: Text(S.of(context).advanced_privacy_settings),
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user