[#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
|
;; 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 image (reagent/adapt-react-class react-native-fast-image))
|
||||||
|
|
||||||
(def fast-image-preload (.-preload react-native-fast-image))
|
(def fast-image-preload (.-preload react-native-fast-image))
|
||||||
|
|
|
@ -3,7 +3,6 @@
|
||||||
[clojure.string :as string]
|
[clojure.string :as string]
|
||||||
[status-im.ui.components.react :as react]
|
[status-im.ui.components.react :as react]
|
||||||
[quo.core :as quo]
|
[quo.core :as quo]
|
||||||
[quo.fast-image :as fast-image]
|
|
||||||
[status-im.utils.security :as security]
|
[status-im.utils.security :as security]
|
||||||
[status-im.i18n :as i18n]
|
[status-im.i18n :as i18n]
|
||||||
[status-im.ui.screens.chat.message.styles :as styles]
|
[status-im.ui.screens.chat.message.styles :as styles]
|
||||||
|
@ -72,10 +71,9 @@
|
||||||
(re-frame/dispatch
|
(re-frame/dispatch
|
||||||
[:browser.ui/message-link-pressed link]))}
|
[:browser.ui/message-link-pressed link]))}
|
||||||
[react/view (styles/link-preview-wrapper outgoing timeline)
|
[react/view (styles/link-preview-wrapper outgoing timeline)
|
||||||
[fast-image/image {:source {:uri thumbnailUrl}
|
[react/image {:source {:uri thumbnailUrl}
|
||||||
:on-load prn
|
:style (styles/link-preview-image outgoing)
|
||||||
:style (styles/link-preview-image outgoing)
|
:accessibility-label :member-photo}]
|
||||||
:accessibility-label :member-photo}]
|
|
||||||
[quo/text {:size :small
|
[quo/text {:size :small
|
||||||
:style styles/link-preview-title}
|
:style styles/link-preview-title}
|
||||||
title]
|
title]
|
||||||
|
|
Loading…
Reference in New Issue