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

@ -74,7 +74,7 @@ const AttachmentAudio: React.FC<Props> = ({
) : null
) : (
<>
{audio.preview_url && (
{audio.preview_url ? (
<GracefullyImage
uri={{
original: audio.preview_url,
@ -82,7 +82,7 @@ const AttachmentAudio: React.FC<Props> = ({
}}
style={styles.background}
/>
)}
) : null}
<Button
type='icon'
content={audioPlaying ? 'PauseCircle' : 'PlayCircle'}