fix(android): unable to display asset image

close https://github.com/logseq/logseq/issues/4397
This commit is contained in:
llcc
2022-03-04 15:40:03 +08:00
committed by Andelf
parent 36e99a5ae4
commit 46b86b081b

View File

@@ -1582,13 +1582,8 @@
(util/electron?)
(str "assets://" repo-dir path)
(mobile-util/native-android?)
(mobile-util/convert-file-src
(str "file://" repo-dir path))
(mobile-util/native-ios?)
(mobile-util/convert-file-src
(str repo-dir path))
(mobile-util/is-native-platform?)
(mobile-util/convert-file-src (str repo-dir path))
:else
(let [handle-path (str "handle" repo-dir path)