From 530f683ac0ceda094847b86bfe9b94d6c75c6dcd Mon Sep 17 00:00:00 2001 From: Tienson Qin Date: Sat, 5 Nov 2022 16:44:45 +0800 Subject: [PATCH] enhance: no need to notify matched password --- src/main/frontend/fs/sync.cljs | 1 - src/main/frontend/handler/file_sync.cljs | 3 ++- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/frontend/fs/sync.cljs b/src/main/frontend/fs/sync.cljs index c29eec937..0948ad8f7 100644 --- a/src/main/frontend/fs/sync.cljs +++ b/src/main/frontend/fs/sync.cljs @@ -1895,7 +1895,6 @@ (if (get-in @pwd-map [graph-uuid :private-key]) (do (when (state/modal-opened?) (state/set-state! [:ui/loading? :set-graph-password] false) - (notification/show! "Password successfully matched" :success) (state/close-modal!)) ::idle) ;; bad pwd diff --git a/src/main/frontend/handler/file_sync.cljs b/src/main/frontend/handler/file_sync.cljs index efc971857..4768ca77d 100644 --- a/src/main/frontend/handler/file_sync.cljs +++ b/src/main/frontend/handler/file_sync.cljs @@ -13,7 +13,8 @@ [frontend.handler.user :as user] [frontend.fs :as fs] [cljs-time.coerce :as tc] - [cljs-time.core :as t])) + [cljs-time.core :as t] + [frontend.storage :as storage])) (def *beta-unavailable? (volatile! false))