keycard confirm seed phrase screen remove back button (#13934)
This commit is contained in:
parent
d4b7e5c8b6
commit
2909014e86
|
@ -128,13 +128,6 @@
|
|||
(assoc-in [:keycard :recovery-phrase :input-word] nil)
|
||||
(assoc-in [:keycard :setup-step] :recovery-phrase-confirm-word2))})
|
||||
|
||||
(fx/defn recovery-phrase-confirm-word-back-pressed
|
||||
{:events [:keycard.onboarding.recovery-phrase-confirm-word.ui/back-pressed]}
|
||||
[{:keys [db] :as cofx}]
|
||||
(if (= (:view-id db) :keycard-onboarding-recovery-phrase-confirm-word1)
|
||||
(navigation/navigate-to-cofx cofx :keycard-onboarding-recovery-phrase nil)
|
||||
(navigation/navigate-to-cofx cofx :keycard-onboarding-recovery-phrase-confirm-word1 nil)))
|
||||
|
||||
(fx/defn proceed-with-generating-key
|
||||
[{:keys [db] :as cofx}]
|
||||
(let [pin (get-in db [:keycard :secrets :pin]
|
||||
|
|
|
@ -310,12 +310,7 @@
|
|||
:width 250}
|
||||
[tooltip/tooltip error]]]
|
||||
[bottom-toolbar/toolbar
|
||||
{:left
|
||||
[quo/button {:on-press #(re-frame/dispatch [:keycard.onboarding.recovery-phrase-confirm-word.ui/back-pressed])
|
||||
:type :secondary
|
||||
:before :main-icon/back}
|
||||
(i18n/label :t/back)]
|
||||
:right
|
||||
{:right
|
||||
[quo/button {:on-press #(re-frame/dispatch [:keycard.onboarding.recovery-phrase-confirm-word.ui/next-pressed])
|
||||
:accessibility-label :next
|
||||
:disabled (empty? input-word)
|
||||
|
|
Loading…
Reference in New Issue