[#11610] App crashes on Android with GiFDecoder error

Signed-off-by: andrey <motor4ik@gmail.com>
This commit is contained in:
andrey 2021-01-11 12:40:00 +01:00
parent 2e7875cfef
commit 346ff25843
No known key found for this signature in database
GPG Key ID: 89B67245FD2F0272
2 changed files with 4 additions and 5 deletions

View File

@ -4,6 +4,7 @@
;; Fast iamge
;;TODO : Gif crashes on Samsung S10 https://github.com/status-im/status-react/issues/11610
(def image (reagent/adapt-react-class react-native-fast-image))
(def fast-image-preload (.-preload react-native-fast-image))

View File

@ -3,7 +3,6 @@
[clojure.string :as string]
[status-im.ui.components.react :as react]
[quo.core :as quo]
[quo.fast-image :as fast-image]
[status-im.utils.security :as security]
[status-im.i18n :as i18n]
[status-im.ui.screens.chat.message.styles :as styles]
@ -72,8 +71,7 @@
(re-frame/dispatch
[:browser.ui/message-link-pressed link]))}
[react/view (styles/link-preview-wrapper outgoing timeline)
[fast-image/image {:source {:uri thumbnailUrl}
:on-load prn
[react/image {:source {:uri thumbnailUrl}
:style (styles/link-preview-image outgoing)
:accessibility-label :member-photo}]
[quo/text {:size :small