Disable spinner when generating multiaccount

Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
This commit is contained in:
Andrea Maria Piana 2019-10-16 11:56:18 +02:00
parent 95e48a4159
commit 1314c6e7d7
No known key found for this signature in database
GPG Key ID: AA6CCA6DE0E06424
1 changed files with 3 additions and 2 deletions

View File

@ -529,8 +529,9 @@
[toolbar/toolbar
{:style {:border-bottom-width 0
:margin-top 16}}
(toolbar/nav-button
(actions/back #(re-frame/dispatch [:intro-wizard/navigate-back])))
(when-not (:processing? wizard-state)
(toolbar/nav-button
(actions/back #(re-frame/dispatch [:intro-wizard/navigate-back]))))
nil]
[react/view {:style {:flex 1
:justify-content :space-between}}