Skip to content

Commit

Permalink
fix issue 2
Browse files Browse the repository at this point in the history
  • Loading branch information
Parveshdhull committed Sep 11, 2024
1 parent ed58ebd commit 28d29ed
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions src/status_im/contexts/onboarding/syncing/progress/view.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -28,15 +28,16 @@

(defn- navigate-to-enter-seed-phrase
[]
(rf/dispatch [:navigate-back-to :screen/onboarding.sync-or-recover-profile])
(debounce/debounce-and-dispatch
[:onboarding/navigate-to-sign-in-by-seed-phrase :screen/onboarding.sync-or-recover-profile]
500))

(defn- try-again
[]
[logged-in?]
(rf/dispatch [:syncing/clear-states])
(rf/dispatch [:navigate-back]))
(if logged-in?
(rf/dispatch [:navigate-back])
(rf/dispatch [:navigate-back-to :screen/onboarding.sync-or-recover-profile])))

(defn try-again-button
[profile-color logged-in?]
Expand All @@ -58,7 +59,7 @@
:customization-color profile-color
:container-style {:flex 1}
:size 40
:on-press try-again}}])
:on-press #(try-again logged-in?)}}])

(defn- illustration
[pairing-progress?]
Expand Down

0 comments on commit 28d29ed

Please sign in to comment.