fix: typo

This commit is contained in:
Sean Yesmunt 2019-09-17 15:12:47 -04:00
parent 806626fe16
commit bca9e76f39

View file

@ -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;