From 44a5d7bb8d6a61682862850b9d0836d32d08cdb0 Mon Sep 17 00:00:00 2001 From: callum Date: Sat, 3 Sep 2022 21:46:01 +0100 Subject: [PATCH] Ensure nowPlayingBar updates correctly when navigating from a song with no image back to a previous song with an image. --- src/components/nowPlayingBar/nowPlayingBar.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/components/nowPlayingBar/nowPlayingBar.js b/src/components/nowPlayingBar/nowPlayingBar.js index 0b1363add5..823f8fd178 100644 --- a/src/components/nowPlayingBar/nowPlayingBar.js +++ b/src/components/nowPlayingBar/nowPlayingBar.js @@ -530,6 +530,7 @@ import { appRouter } from '../appRouter'; nowPlayingImageElement.style.display = null; nowPlayingTextElement.style.marginLeft = null; } else { + nowPlayingImageUrl = null; nowPlayingImageElement.style.backgroundImage = ''; nowPlayingImageElement.style.display = 'none'; nowPlayingTextElement.style.marginLeft = '1em';