From 4afe251086b7a796d5605d84d7c69ca49e9b473a Mon Sep 17 00:00:00 2001 From: Parvesh Monu Date: Thu, 11 May 2023 02:29:52 +0530 Subject: [PATCH] Show correct error message while unlocking app (#15845) --- src/status_im/signals/core.cljs | 2 +- src/status_im2/contexts/onboarding/profiles/view.cljs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/status_im/signals/core.cljs b/src/status_im/signals/core.cljs index e9fecb64bd..03b03bcabe 100644 --- a/src/status_im/signals/core.cljs +++ b/src/status_im/signals/core.cljs @@ -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])) diff --git a/src/status_im2/contexts/onboarding/profiles/view.cljs b/src/status_im2/contexts/onboarding/profiles/view.cljs index e611b3baca..f28bb3ade6 100644 --- a/src/status_im2/contexts/onboarding/profiles/view.cljs +++ b/src/status_im2/contexts/onboarding/profiles/view.cljs @@ -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