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:
@ -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'}
|
||||
|
Reference in New Issue
Block a user