update tooltip in recover view

Signed-off-by: Serhy <sergii@status.im>
This commit is contained in:
Roman Volosovskyi 2020-04-08 09:15:13 +03:00 committed by Serhy
parent 47eb863a3c
commit 19fdced2bc
No known key found for this signature in database
GPG Key ID: 5D7C4B9E2B6F500B
3 changed files with 3 additions and 3 deletions

View File

@ -29,7 +29,7 @@
(status/validate-mnemonic passphrase callback)))
(defn check-phrase-warnings [recovery-phrase]
(cond (string/blank? recovery-phrase) :required-field))
(cond (string/blank? recovery-phrase) :t/required-field))
(fx/defn set-phrase
{:events [:multiaccounts.recover/passphrase-input-changed]}

View File

@ -14,7 +14,7 @@
(spec/def :intro-wizard/root-key :multiaccounts/generated-multiaccount)
(spec/def :intro-wizard/passphrase string?)
(spec/def :intro-wizard/recovering? boolean?)
(spec/def :intro-wizard/passphrase-word-count int?)
(spec/def :intro-wizard/passphrase-word-count (spec/nilable int?))
(spec/def :intro-wizard/derived :generated-multiaccounts/derived)
(spec/def :intro-wizard/next-button-disabled? boolean?)

View File

@ -9,7 +9,7 @@
(deftest check-phrase-warnings
(is (= :required-field (models/check-phrase-warnings ""))))
(is (= :t/required-field (models/check-phrase-warnings ""))))
;;;; handlers