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
|
;; in case of an unknown error we show the
|
||||||
;; error
|
;; error
|
||||||
(if (= error "file is not a database")
|
(if (= error "file is not a database")
|
||||||
(i18n/label :t/wrong-password)
|
(i18n/label :t/oops-wrong-password)
|
||||||
error)))}
|
error)))}
|
||||||
(= (:view-id db) :progress)
|
(= (:view-id db) :progress)
|
||||||
(assoc :dispatch [:navigate-to :login]))
|
(assoc :dispatch [:navigate-to :login]))
|
||||||
|
|
|
@ -167,7 +167,7 @@
|
||||||
:size :default
|
:size :default
|
||||||
:icon :i/info
|
:icon :i/info
|
||||||
:style style/info-message}
|
:style style/info-message}
|
||||||
(i18n/label :t/oops-wrong-password)])]
|
error])]
|
||||||
[quo/button
|
[quo/button
|
||||||
{:size 40
|
{:size 40
|
||||||
:type :ghost
|
:type :ghost
|
||||||
|
|
Loading…
Reference in New Issue