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(
|
return Container(
|
||||||
padding: EdgeInsets.only(top: 24),
|
padding: EdgeInsets.only(top: 24),
|
||||||
child: ScrollableWithBottomSection(
|
child: ScrollableWithBottomSection(
|
||||||
contentPadding: EdgeInsets.only(left: 24, right: 24, bottom: 24),
|
contentPadding: EdgeInsets.only(bottom: 24),
|
||||||
content: Column(
|
content: Column(
|
||||||
crossAxisAlignment: CrossAxisAlignment.center,
|
crossAxisAlignment: CrossAxisAlignment.center,
|
||||||
children: [
|
children: [
|
||||||
|
@ -67,7 +67,7 @@ class _AdvancedPrivacySettingsBodyState
|
||||||
builder: (_) {
|
builder: (_) {
|
||||||
if (privacySettingsViewModel.addCustomNode) {
|
if (privacySettingsViewModel.addCustomNode) {
|
||||||
return Padding(
|
return Padding(
|
||||||
padding: EdgeInsets.only(top: 24),
|
padding: EdgeInsets.only(left: 24, right: 24, top: 24),
|
||||||
child: NodeForm(
|
child: NodeForm(
|
||||||
formKey: _formKey,
|
formKey: _formKey,
|
||||||
nodeViewModel: nodeViewModel,
|
nodeViewModel: nodeViewModel,
|
||||||
|
|
|
@ -216,7 +216,8 @@ class _WalletNameFormState extends State<WalletNameForm> {
|
||||||
const SizedBox(height: 25),
|
const SizedBox(height: 25),
|
||||||
GestureDetector(
|
GestureDetector(
|
||||||
onTap: () {
|
onTap: () {
|
||||||
Navigator.of(context).pushNamed(Routes.privacySettings);
|
Navigator.of(context)
|
||||||
|
.pushNamed(Routes.privacySettings, arguments: _walletNewVM.type);
|
||||||
},
|
},
|
||||||
child: Text(S.of(context).advanced_privacy_settings),
|
child: Text(S.of(context).advanced_privacy_settings),
|
||||||
),
|
),
|
||||||
|
|
Loading…
Reference in a new issue