1
0
mirror of https://github.com/tooot-app/app synced 2025-06-05 22:19:13 +02:00
This commit is contained in:
Zhiyuan Zheng
2022-02-14 22:10:07 +01:00
parent e388ce7626
commit 06db0580cd
6 changed files with 24 additions and 22 deletions

View File

@ -91,8 +91,10 @@ const AccountAttachments = React.memo(
return (
<GracefullyImage
uri={{
original: item.media_attachments[0].preview_url,
remote: item.media_attachments[0].remote_url
original:
item.media_attachments[0]?.preview_url ||
item.media_attachments[0]?.url,
remote: item.media_attachments[0]?.remote_url
}}
blurhash={item.media_attachments[0].blurhash}
dimension={{ width: width, height: width }}