mirror of
https://github.com/tooot-app/app
synced 2025-06-05 22:19:13 +02:00
Image viewer use blurhash as loading placeholder
This commit is contained in:
@ -93,6 +93,7 @@ const ImageItem = ({
|
||||
original: imageSrc.url,
|
||||
remote: imageSrc.remote_url
|
||||
}}
|
||||
blurhash={imageSrc.blurhash}
|
||||
{...((!imageSrc.width || !imageSrc.height) && {
|
||||
setImageDimensions
|
||||
})}
|
||||
|
@ -148,6 +148,7 @@ const ImageItem = ({
|
||||
original: imageSrc.url,
|
||||
remote: imageSrc.remote_url
|
||||
}}
|
||||
blurhash={imageSrc.blurhash}
|
||||
{...((!imageSrc.width || !imageSrc.height) && {
|
||||
setImageDimensions
|
||||
})}
|
||||
|
Reference in New Issue
Block a user