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