mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2024-11-17 09:47:35 +00:00
Pass wallet type when navigating
Fix UI padding
This commit is contained in:
parent
299df3c087
commit
3c04bd9aa5
2 changed files with 4 additions and 3 deletions
|
@ -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),
|
||||
),
|
||||
|
|
Loading…
Reference in a new issue