Fix crashes when playing media on legacy OS
This commit is contained in:
parent
2fe5ec6ab2
commit
fed84be0b6
7 changed files with 45 additions and 1 deletions
|
@ -178,7 +178,7 @@ export const GIF: React.FC<Props> = props => {
|
|||
}
|
||||
|
||||
let gif: JSX.Element | undefined;
|
||||
if (isNotDownloaded || isPending) {
|
||||
if (isNotDownloaded || isPending || window.isLegacyOS()) {
|
||||
gif = (
|
||||
<Blurhash
|
||||
hash={attachment.blurHash || defaultBlurHash(theme)}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue