1
0
mirror of https://github.com/tooot-app/app synced 2025-06-05 22:19:13 +02:00

Fallback to expo beta for blurhash to function

This commit is contained in:
xmflsct
2023-02-25 15:28:01 +01:00
parent 1bff79ed4a
commit 45c54db617
5 changed files with 92 additions and 97 deletions

View File

@ -59,8 +59,8 @@ const GracefullyImage = ({
>
<Image
placeholderContentFit='cover'
placeholder={sources.blurhash || connectMedia(sources.preview)}
source={hidden ? undefined : connectMedia(source)}
placeholder={hidden ? sources.blurhash : sources.blurhash || connectMedia(sources.preview)}
source={hidden ? sources.blurhash : connectMedia(source)}
{...(!withoutTransition && !reduceMotionEnabled && { transition: { duration: 120 } })}
style={{ flex: 1, ...imageStyle }}
onError={() => {