Suppress back-up-seed prompt when already done

Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
This commit is contained in:
acolytec3 2019-10-03 16:49:46 -04:00 committed by Andrey Shovkoplyas
parent df874966ba
commit 5ce678eb62
No known key found for this signature in database
GPG Key ID: EAAB7C8622D860A4
1 changed files with 3 additions and 2 deletions

View File

@ -19,14 +19,15 @@
{:type :small
:title :t/back-up-seed-phrase
:accessibility-label :back-up-recovery-phrase-button
:disabled? (not show-backup-seed?)
;; TODO - remove container bottom margin
;; when items below are implemented
:container-margin-bottom 8
:on-press
#(re-frame/dispatch [:navigate-to :backup-seed])
:accessories
[(when show-backup-seed? [components.common/counter {:size 22} 1])
:chevron]}
(when show-backup-seed? [[components.common/counter {:size 22} 1]
:chevron])}
{:type :small
:title (str (i18n/label :t/lock-app-with) " " (biometric/get-label supported-biometric-auth))
:container-margin-bottom 8