[#11610] App crashes on Android with GiFDecoder error
Signed-off-by: andrey <motor4ik@gmail.com>
This commit is contained in:
parent
2e7875cfef
commit
346ff25843
|
@ -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))
|
||||
|
|
|
@ -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,10 +71,9 @@
|
|||
(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
|
||||
:style (styles/link-preview-image outgoing)
|
||||
:accessibility-label :member-photo}]
|
||||
[react/image {:source {:uri thumbnailUrl}
|
||||
:style (styles/link-preview-image outgoing)
|
||||
:accessibility-label :member-photo}]
|
||||
[quo/text {:size :small
|
||||
:style styles/link-preview-title}
|
||||
title]
|
||||
|
|
Loading…
Reference in New Issue