Show correct error message while unlocking app (#15845)
This commit is contained in:
parent
ac3eb3e660
commit
4afe251086
|
@ -33,7 +33,7 @@
|
|||
;; in case of an unknown error we show the
|
||||
;; error
|
||||
(if (= error "file is not a database")
|
||||
(i18n/label :t/wrong-password)
|
||||
(i18n/label :t/oops-wrong-password)
|
||||
error)))}
|
||||
(= (:view-id db) :progress)
|
||||
(assoc :dispatch [:navigate-to :login]))
|
||||
|
|
|
@ -167,7 +167,7 @@
|
|||
:size :default
|
||||
:icon :i/info
|
||||
:style style/info-message}
|
||||
(i18n/label :t/oops-wrong-password)])]
|
||||
error])]
|
||||
[quo/button
|
||||
{:size 40
|
||||
:type :ghost
|
||||
|
|
Loading…
Reference in New Issue