fix(wallet)_: crash on viewing dynamic file type collectibles (#21245)
This commit removes the support for GIF file types for the collectibles. Signed-off-by: Mohamed Javid <19339952+smohamedjavid@users.noreply.github.com>
This commit is contained in:
parent
0eb065bbb7
commit
9912136ac9
|
@ -15,7 +15,6 @@
|
|||
|
||||
(def supported-collectible-types
|
||||
#{"image/jpeg"
|
||||
"image/gif"
|
||||
"image/bmp"
|
||||
"image/png"
|
||||
"image/webp"
|
||||
|
|
|
@ -40,7 +40,8 @@
|
|||
[quo/collectible-list-item
|
||||
{:type :card
|
||||
:image-src (:uri preview-url)
|
||||
:avatar-image-src (:image-url collection-data)
|
||||
:avatar-image-src (when (utils/supported-file? (:image-url collection-data))
|
||||
(:image-url collection-data))
|
||||
:collectible-name (:name collectible-data)
|
||||
:supported-file? (utils/supported-file? (:animation-media-type collectible-data))
|
||||
:gradient-color-index gradient-color
|
||||
|
|
Loading…
Reference in New Issue