Show correct error message while unlocking app (#15845)

This commit is contained in:
Parvesh Monu 2023-05-11 02:29:52 +05:30 committed by GitHub
parent ac3eb3e660
commit 4afe251086
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -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]))

View File

@ -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