fix(android): app crashes

This commit is contained in:
leizhe
2022-02-19 11:59:16 +08:00
committed by Andelf
parent bf0eb9c76b
commit 86ea102b89
5 changed files with 75 additions and 50 deletions

View File

@@ -48,7 +48,7 @@
(cond
mobile-native?
(map (fn [{:keys [uri content size mtime]}]
{:file/path (util/path-normalize (string/replace uri "file://" ""))
{:file/path (util/path-normalize uri)
:file/last-modified-at mtime
:file/size size
:file/content content})