mirror of
https://github.com/logseq/logseq.git
synced 2026-05-04 10:56:32 +00:00
fix(ios): remove private part from file watcher events
This commit is contained in:
@@ -569,7 +569,8 @@
|
||||
(defmethod handle :file-watcher/changed [[_ ^js event]]
|
||||
(let [type (.-event event)
|
||||
payload (-> event
|
||||
(js->clj :keywordize-keys true))]
|
||||
(js->clj :keywordize-keys true)
|
||||
(update :path capacitor-fs/remove-private-part))]
|
||||
(fs-watcher/handle-changed! type payload)
|
||||
(when (file-sync-handler/enable-sync?)
|
||||
(sync/file-watch-handler type payload))))
|
||||
|
||||
Reference in New Issue
Block a user