removed navigated back button from enable notification screen

This commit is contained in:
jo-mut
2024-07-09 10:17:53 +02:00
parent 6ab8711355
commit e7cb3b4e85
3 changed files with 7 additions and 12 deletions
@@ -72,10 +72,6 @@
(let [insets (safe-area/get-insets)]
[rn/view {:style (style/page-container insets)}
[rn/view {:style style/page-heading}
[quo/page-nav
{:background :blur
:icon-name :i/arrow-left
:on-press #(rf/dispatch [:navigate-back])}]
[page-title]]
[enable-notifications-simple]
[enable-notification-buttons {:insets insets}]]))
@@ -73,7 +73,7 @@
:onboarding/navigated-to-enter-seed-phrase-from-screen
:screen/onboarding.new-to-status)]]
:dispatch-later [{:ms constants/onboarding-generating-keys-animation-duration-ms
:dispatch [:onboarding/navigate-to-enable-notifications]}]
:dispatch [:init-root :screen/onboarding.enable-notifications]}]
:db (-> db
(dissoc :profile/login)
(dissoc :auth-method)
+6 -7
View File
@@ -346,12 +346,11 @@
:component enter-seed-phrase/view}
{:name :screen/onboarding.enable-notifications
:options {:theme :dark
:layout options/onboarding-transparent-layout
:animations (merge
transitions/new-to-status-modal-animations
transitions/push-animations-for-transparent-background)
:modalPresentationStyle :overCurrentContext}
:options {:theme :dark
:layout options/onboarding-layout
:animations (merge
transitions/new-to-status-modal-animations
transitions/push-animations-for-transparent-background)}
:component enable-notifications/view}
{:name :screen/onboarding.identifiers
@@ -400,7 +399,7 @@
{:name :screen/onboarding.welcome
:options {:theme :dark
:layout options/onboarding-transparent-layout
:layout options/onboarding-layout
:animations transitions/push-animations-for-transparent-background}
:component welcome/view}