fix: don't run file sync onboarding on web

This commit is contained in:
Tienson Qin
2025-07-11 18:34:03 +08:00
parent 24e3a08b04
commit 489a88df78

View File

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