mirror of
https://github.com/tooot-app/app
synced 2025-01-20 13:10:15 +01:00
Fixed #363
This commit is contained in:
parent
42528caf09
commit
d0becef5bf
@ -99,6 +99,7 @@ const AttachmentVideo: React.FC<Props> = ({
|
||||
opacity: sensitiveShown ? 0 : 1
|
||||
}}
|
||||
usePoster
|
||||
resizeMode={ResizeMode.COVER}
|
||||
{...(gifv
|
||||
? {
|
||||
shouldPlay: true,
|
||||
@ -107,7 +108,6 @@ const AttachmentVideo: React.FC<Props> = ({
|
||||
source: { uri: video.url }
|
||||
}
|
||||
: {
|
||||
resizeMode: ResizeMode.COVER,
|
||||
posterSource: { uri: video.preview_url },
|
||||
posterStyle: { resizeMode: ResizeMode.COVER }
|
||||
})}
|
||||
|
Loading…
Reference in New Issue
Block a user