feat(wallet)_: Wallet settings screen transition (#20311)
This commit updates the navigation event `:open-modal` in Wallet Settings to `:navigate-to-within-stack` for slide-in/slide-out screen transitions. Signed-off-by: Mohamed Javid <19339952+smohamedjavid@users.noreply.github.com>
This commit is contained in:
parent
2c6ab52a1a
commit
55ec84a5c3
|
@ -36,7 +36,7 @@
|
|||
:blur? true
|
||||
:action :arrow}
|
||||
{:title (i18n/label :t/wallet)
|
||||
:on-press #(rf/dispatch [:open-modal :screen/settings.wallet])
|
||||
:on-press #(rf/dispatch [:navigate-to-within-stack [:screen/settings.wallet :screen/settings]])
|
||||
:image-props :i/wallet
|
||||
:image :icon
|
||||
:blur? true
|
||||
|
|
|
@ -8,11 +8,11 @@
|
|||
|
||||
(defn open-saved-addresses-settings-modal
|
||||
[]
|
||||
(rf/dispatch [:open-modal :screen/settings.saved-addresses]))
|
||||
(rf/dispatch [:navigate-to-within-stack [:screen/settings.saved-addresses :screen/settings]]))
|
||||
|
||||
(defn open-keypairs-and-accounts-settings-modal
|
||||
[]
|
||||
(rf/dispatch [:open-modal :screen/settings.keypairs-and-accounts]))
|
||||
(rf/dispatch [:navigate-to-within-stack [:screen/settings.keypairs-and-accounts :screen/settings]]))
|
||||
|
||||
(defn basic-settings-options
|
||||
[]
|
||||
|
@ -38,7 +38,7 @@
|
|||
|
||||
(defn open-network-settings-modal
|
||||
[]
|
||||
(rf/dispatch [:open-modal :screen/settings.network-settings]))
|
||||
(rf/dispatch [:navigate-to-within-stack [:screen/settings.network-settings :screen/settings]]))
|
||||
|
||||
(defn advanced-settings-options
|
||||
[]
|
||||
|
|
Loading…
Reference in New Issue