fix(android): apply url decode before fs watcher notifies

This commit is contained in:
Andelf
2023-05-22 12:02:05 +08:00
parent 1ce4697b22
commit 7f0457f23f
2 changed files with 17 additions and 4 deletions

View File

@@ -1777,7 +1777,7 @@
(when (sync-state--valid-to-accept-filewatcher-event? sync-state)
(when (or (:mtime stat) (= type "unlink"))
(go
(let [path (path-normalize (remove-dir-prefix dir path))
(let [path (path-normalize path)
files-meta (and (not= "unlink" type)
(<! (<get-local-files-meta
rsapi (:current-syncing-graph-uuid sync-state) dir [path])))