Apply suggestions from code review

Co-authored-by: Dmitry Lyzo <56478732+dmitrylyzo@users.noreply.github.com>
This commit is contained in:
Nyanmisaka 2020-11-30 18:03:36 +08:00 committed by GitHub
parent eb915cefcf
commit c74a4307b6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -660,7 +660,7 @@ import { appRouter } from '../appRouter';
console.debug('nowplaying event: ' + event.type); console.debug('nowplaying event: ' + event.type);
const player = this; const player = this;
if (!state.NowPlayingItem || layoutManager.tv) { if (!state.NowPlayingItem || layoutManager.tv || state.IsFullscreen === false) {
hideNowPlayingBar(); hideNowPlayingBar();
return; return;
} }