fix back button on account generation
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
This commit is contained in:
parent
fabbfc38f8
commit
4583c95cf2
|
@ -518,11 +518,12 @@
|
||||||
(letsubs [wizard-state [:intro-wizard/confirm-code]]
|
(letsubs [wizard-state [:intro-wizard/confirm-code]]
|
||||||
[react/keyboard-avoiding-view {:style {:flex 1}}
|
[react/keyboard-avoiding-view {:style {:flex 1}}
|
||||||
[topbar/topbar
|
[topbar/topbar
|
||||||
(when-not (:processing? wizard-state)
|
{:navigation
|
||||||
{:navigation
|
(if (:processing? wizard-state)
|
||||||
|
:none
|
||||||
{:icon :main-icons/back
|
{:icon :main-icons/back
|
||||||
:accessibility-label :back-button
|
:accessibility-label :back-button
|
||||||
:handler #(re-frame/dispatch [:intro-wizard/navigate-back])}})]
|
:handler #(re-frame/dispatch [:intro-wizard/navigate-back])})}]
|
||||||
[react/view {:style {:flex 1
|
[react/view {:style {:flex 1
|
||||||
:justify-content :space-between}}
|
:justify-content :space-between}}
|
||||||
[top-bar {:step :confirm-code :encrypt-with-password? (:encrypt-with-password? wizard-state)}]
|
[top-bar {:step :confirm-code :encrypt-with-password? (:encrypt-with-password? wizard-state)}]
|
||||||
|
|
Loading…
Reference in New Issue