From 4583c95cf2c2345328ebe27627278e2f9d3ff747 Mon Sep 17 00:00:00 2001 From: Andrey Shovkoplyas Date: Tue, 14 Jan 2020 12:38:41 +0100 Subject: [PATCH] fix back button on account generation Signed-off-by: Andrey Shovkoplyas --- src/status_im/ui/screens/intro/views.cljs | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/status_im/ui/screens/intro/views.cljs b/src/status_im/ui/screens/intro/views.cljs index ff8895c049..3b8ea66fce 100644 --- a/src/status_im/ui/screens/intro/views.cljs +++ b/src/status_im/ui/screens/intro/views.cljs @@ -518,11 +518,12 @@ (letsubs [wizard-state [:intro-wizard/confirm-code]] [react/keyboard-avoiding-view {:style {:flex 1}} [topbar/topbar - (when-not (:processing? wizard-state) - {:navigation + {:navigation + (if (:processing? wizard-state) + :none {:icon :main-icons/back :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 :justify-content :space-between}} [top-bar {:step :confirm-code :encrypt-with-password? (:encrypt-with-password? wizard-state)}]