We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dd4194c commit fc98f01Copy full SHA for fc98f01
src/status_im/chat/models/images.cljs
@@ -42,7 +42,8 @@
42
(def temp-image-url (str (fs/cache-dir) "/StatusIm_Image.jpeg"))
43
44
(defn download-image-http [base64-uri on-success]
45
- (-> (.config ReactNativeBlobUtil (clj->js {:path temp-image-url}))
+ (-> (.config ReactNativeBlobUtil (clj->js {:trusty platform/ios?
46
+ :path temp-image-url}))
47
(.fetch "GET" base64-uri)
48
(.then #(on-success (.path %)))
49
(.catch #(log/error "could not save image"))))
0 commit comments