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

Try to fix crashes for Text

This commit is contained in:
Zhiyuan Zheng
2021-06-11 23:07:41 +02:00
parent c72f26c260
commit 0be23da843
10 changed files with 46 additions and 46 deletions

View File

@ -27,14 +27,14 @@ const TimelineCard = React.memo(
}}
testID='base'
>
{card.image && (
{card.image ? (
<GracefullyImage
uri={{ original: card.image }}
blurhash={card.blurhash}
style={styles.left}
imageStyle={styles.image}
/>
)}
) : null}
<View style={styles.right}>
<Text
numberOfLines={2}