mirror of
https://github.com/logseq/logseq.git
synced 2026-04-29 00:24:51 +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:
@@ -721,7 +721,9 @@
|
||||
(config/get-file-extension format))
|
||||
file-path (str "/" path)
|
||||
repo-dir (config/get-repo-dir repo)]
|
||||
(p/let [file-exists? (fs/file-exists? repo-dir file-path)
|
||||
(p/let [_ (when (mobile-util/native-ios?)
|
||||
(.downloadFilesFromiCloud mobile-util/download-icloud-files))
|
||||
file-exists? (fs/file-exists? repo-dir file-path)
|
||||
file-content (when file-exists?
|
||||
(fs/read-file repo-dir file-path))]
|
||||
(when (and (db/page-empty? repo today-page)
|
||||
|
||||
Reference in New Issue
Block a user