mirror of
https://github.com/logseq/logseq.git
synced 2026-05-03 18:36:43 +00:00
fix: disable creating remote graph when sync is not started yet
Also, don't show `password is required` when starting the sync.
This commit is contained in:
@@ -88,7 +88,7 @@
|
||||
(vector? (:sync-meta %))
|
||||
(util/uuid-string? (first (:sync-meta %)))
|
||||
(util/uuid-string? (second (:sync-meta %)))) repos)
|
||||
(file-sync-restart!)))))
|
||||
(sync/sync-start)))))
|
||||
(file-sync/maybe-onboarding-show status)))))))
|
||||
|
||||
(defmethod handle :user/logout [[_]]
|
||||
@@ -639,9 +639,6 @@
|
||||
(notification/show! "file sync graph count exceed limit" :warning false)
|
||||
(file-sync-stop!))
|
||||
|
||||
(defmethod handle :file-sync/restart [[_]]
|
||||
(file-sync-restart!))
|
||||
|
||||
(defmethod handle :graph/restored [[_ _graph]]
|
||||
(mobile/init!)
|
||||
(when-not (mobile-util/native-ios?)
|
||||
|
||||
Reference in New Issue
Block a user