mirror of
https://github.com/status-im/status-react.git
synced 2025-01-11 11:34:45 +00:00
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 :recovery-phrase :input-word] nil)
|
||||||
(assoc-in [:keycard :setup-step] :recovery-phrase-confirm-word2))})
|
(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
|
(fx/defn proceed-with-generating-key
|
||||||
[{:keys [db] :as cofx}]
|
[{:keys [db] :as cofx}]
|
||||||
(let [pin (get-in db [:keycard :secrets :pin]
|
(let [pin (get-in db [:keycard :secrets :pin]
|
||||||
|
@ -310,12 +310,7 @@
|
|||||||
:width 250}
|
:width 250}
|
||||||
[tooltip/tooltip error]]]
|
[tooltip/tooltip error]]]
|
||||||
[bottom-toolbar/toolbar
|
[bottom-toolbar/toolbar
|
||||||
{:left
|
{:right
|
||||||
[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
|
|
||||||
[quo/button {:on-press #(re-frame/dispatch [:keycard.onboarding.recovery-phrase-confirm-word.ui/next-pressed])
|
[quo/button {:on-press #(re-frame/dispatch [:keycard.onboarding.recovery-phrase-confirm-word.ui/next-pressed])
|
||||||
:accessibility-label :next
|
:accessibility-label :next
|
||||||
:disabled (empty? input-word)
|
:disabled (empty? input-word)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user