mirror of
https://github.com/logseq/logseq.git
synced 2026-05-02 18:06:32 +00:00
Merge pull request #3374 from logseq/enhance/mobile
Support photo upload/undo on mobile
This commit is contained in:
@@ -1594,10 +1594,14 @@
|
||||
(util/electron?)
|
||||
(str "assets://" repo-dir path)
|
||||
|
||||
(mobile/is-native-platform?)
|
||||
(mobile/native-android?)
|
||||
(mobile/convert-file-src
|
||||
(str "file://" repo-dir path))
|
||||
|
||||
(mobile/native-ios?)
|
||||
(mobile/convert-file-src
|
||||
(str repo-dir path))
|
||||
|
||||
:else
|
||||
(let [handle-path (str "handle" repo-dir path)
|
||||
cached-url (get @*assets-url-cache (keyword handle-path))]
|
||||
|
||||
Reference in New Issue
Block a user