fix(iOS): image display error

This commit is contained in:
leizhe
2021-12-29 22:09:03 +08:00
committed by Andelf
parent e56bf09d4b
commit f141d3e606
3 changed files with 13 additions and 14 deletions

View File

@@ -262,10 +262,8 @@
(when (or granted? (util/electron?) (mobile/is-native-platform?))
(p/then (editor-handler/make-asset-url href) #(reset! src %)))
(if (mobile-util/native-ios?)
[:span full_text]
(when @src
(resizable-image config title @src metadata full_text true)))))
(when @src
(resizable-image config title @src metadata full_text true))))
(defn ar-url->http-url
[href]