Skip to content

Commit

Permalink
Merge branch 'develop' into milad/18354-add-malli-batch-1
Browse files Browse the repository at this point in the history
  • Loading branch information
mmilad75 authored Feb 6, 2024
2 parents c70c4d5 + 431b6c3 commit d7bf46c
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/quo/components/profile/collectible/view.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
[quo.components.markdown.text :as text]
[quo.components.profile.collectible.style :as style]
[react-native.core :as rn]
[react-native.fast-image :as fast-image]
[react-native.svg :as svg]))

(defn remaining-tiles
Expand All @@ -25,7 +24,12 @@
{:style {:border-radius (:border-radius image-style)
:overflow :hidden}}
[svg/svg-uri (assoc image-style :uri (:uri resource))]]
[fast-image/fast-image
;; NOTE: using react-native-fast-image here causes a crash on devices when used inside a
;; large flatlist. The library seems to have issues with memory consumption when used with
;; large images/GIFs.
;;
;; https://github.com/DylanVann/react-native-fast-image/issues/195
[rn/image
{:style image-style
:source (if (string? resource)
{:uri resource
Expand Down

0 comments on commit d7bf46c

Please sign in to comment.