mirror of
https://github.com/logseq/logseq.git
synced 2026-04-29 08:26:40 +00:00
enhance(ios): sync iCloud every 5 minutes in background
This commit is contained in:
@@ -721,9 +721,7 @@
|
||||
(config/get-file-extension format))
|
||||
file-path (str "/" path)
|
||||
repo-dir (config/get-repo-dir repo)]
|
||||
(p/let [_ (when (mobile-util/native-ios?)
|
||||
(.downloadFilesFromiCloud mobile-util/download-icloud-files))
|
||||
file-exists? (fs/file-exists? repo-dir file-path)
|
||||
(p/let [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