Skip to content

Commit fc98f01

Browse files
committed
trusty on ios
1 parent dd4194c commit fc98f01

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/status_im/chat/models/images.cljs

+2-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,8 @@
4242
(def temp-image-url (str (fs/cache-dir) "/StatusIm_Image.jpeg"))
4343

4444
(defn download-image-http [base64-uri on-success]
45-
(-> (.config ReactNativeBlobUtil (clj->js {:path temp-image-url}))
45+
(-> (.config ReactNativeBlobUtil (clj->js {:trusty platform/ios?
46+
:path temp-image-url}))
4647
(.fetch "GET" base64-uri)
4748
(.then #(on-success (.path %)))
4849
(.catch #(log/error "could not save image"))))

0 commit comments

Comments
 (0)