mirror of
https://github.com/logseq/logseq.git
synced 2026-05-02 09:56:31 +00:00
fix iCloud files conflict
Files in iCloud will be downloaded at first by clicking New Graph/Re-index/Refresh. But remember that if your file created on mobile or desktop is not uploaded to cloud, you will never get your file synced correctly. So please confirm if the file (with cloud icon at the top right corner) in File/Finder at first if you failed to see you file's update.
This commit is contained in:
@@ -125,7 +125,9 @@
|
||||
*repo (atom nil)]
|
||||
;; TODO: add ext filter to avoid loading .git or other ignored file handlers
|
||||
(->
|
||||
(p/let [result (fs/open-dir (fn [path handle]
|
||||
(p/let [_ (when (mobile-util/native-ios?)
|
||||
(.downloadFilesFromiCloud mobile-util/download-icloud-files))
|
||||
result (fs/open-dir (fn [path handle]
|
||||
(when nfs?
|
||||
(swap! path-handles assoc path handle))))
|
||||
root-handle (first result)
|
||||
|
||||
Reference in New Issue
Block a user