fix: typo
This commit is contained in:
parent
806626fe16
commit
bca9e76f39
1 changed files with 1 additions and 1 deletions
|
@ -114,7 +114,7 @@ export default function FileViewer(props: Props) {
|
||||||
}
|
}
|
||||||
|
|
||||||
const hidePlayer =
|
const hidePlayer =
|
||||||
!isPlaying || !uri || (!inline && (!floatingPlayerEnabled || (mediaType !== 'video' || mediaType !== 'audio')));
|
!isPlaying || !uri || (!inline && (!floatingPlayerEnabled || ['audio', 'video'].indexOf(mediaType) === -1));
|
||||||
|
|
||||||
if (hidePlayer) {
|
if (hidePlayer) {
|
||||||
return null;
|
return null;
|
||||||
|
|
Loading…
Reference in a new issue