Compare commits

...
Author SHA1 Message Date
Ajay Sivan a0933c74a0 Biometric screen in sync flow - temp 2023-08-18 15:07:40 +05:30
4 changed files with 14 additions and 3 deletions
@@ -11,6 +11,8 @@
[status-im2.common.parallax.whitelist :as whitelist]
[status-im2.common.biometric.events :as biometric]))
;; ! Enable biometrics screen
(defn page-title
[]
[quo/title
@@ -36,7 +38,8 @@
{:accessibility-label :maybe-later-button
:background :blur
:type :grey
:on-press #(rf/dispatch [:onboarding-2/create-account-and-login])
;; :on-press #(rf/dispatch [:onboarding-2/create-account-and-login])
:on-press #(rf/dispatch [:open-modal :enable-notifications])
:container-style {:margin-top 12}}
(i18n/label :t/maybe-later)]]))
@@ -11,6 +11,8 @@
[status-im2.contexts.onboarding.enable-notifications.style :as style]
[status-im2.contexts.shell.jump-to.utils :as shell.utils]))
;; !Enable notifications screen
(defn page-title
[]
[quo/title
@@ -52,7 +52,9 @@
{:on-press (fn []
(when on-press
(on-press))
(rf/dispatch [:open-modal :enable-notifications]))
;; (rf/dispatch [:open-modal :enable-notifications])
(rf/dispatch [:navigate-to-within-stack [:enable-biometrics :new-to-status]])
) ;; !Here is the navigation to the notifications screen
:accessibility-label :continue-button
:customization-color profile-color
:container-style style/continue-button}
+5 -1
View File
@@ -157,7 +157,11 @@
:options {:theme :dark
:layout options/onboarding-transparent-layout
:animations transitions/push-animations-for-transparent-background
:popGesture false}
:popGesture false
;; :modalPresentationStyle :overCurrentContext
;; :hardwareBackButton {:dismissModalOnPress false
;; :popStackOnPress false}
}
:component enable-biometrics/enable-biometrics}
{:name :generating-keys