mirror of
https://github.com/logseq/logseq.git
synced 2026-05-03 18:36:43 +00:00
fix(android): unable to display asset image
close https://github.com/logseq/logseq/issues/4397
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user