From 489a88df782d2aaa9f7cab2a63cd0a41044eed05 Mon Sep 17 00:00:00 2001 From: Tienson Qin Date: Fri, 11 Jul 2025 18:34:03 +0800 Subject: [PATCH] fix: don't run file sync onboarding on web --- src/main/frontend/handler/file_based/events.cljs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/frontend/handler/file_based/events.cljs b/src/main/frontend/handler/file_based/events.cljs index 73d002ddca..0aa01a0284 100644 --- a/src/main/frontend/handler/file_based/events.cljs +++ b/src/main/frontend/handler/file_based/events.cljs @@ -203,7 +203,8 @@ {:id :page-histories :label "modal-page-histories"})) (defmethod events/handle :file-sync/maybe-onboarding-show [[_ type]] - (file-sync/maybe-onboarding-show type)) + (when-not util/web-platform? + (file-sync/maybe-onboarding-show type))) (defmethod events/handle :file-sync/storage-exceed-limit [[_]] (notification/show! "file sync storage exceed limit" :warning false)