From 02193adc51e432f771be85da36887dcf33dab042 Mon Sep 17 00:00:00 2001 From: Matt Nadareski Date: Mon, 21 Jun 2021 21:44:46 -0700 Subject: [PATCH] Only check disc init for displaying the time --- RedBookPlayer/PlayerView.xaml.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/RedBookPlayer/PlayerView.xaml.cs b/RedBookPlayer/PlayerView.xaml.cs index d4389ae..411b101 100644 --- a/RedBookPlayer/PlayerView.xaml.cs +++ b/RedBookPlayer/PlayerView.xaml.cs @@ -72,7 +72,7 @@ namespace RedBookPlayer private string GenerateDigitString() { // If the disc or player aren't initialized, return all '-' characters - if (!PlayableDisc.Initialized || !Player.Initialized) + if (!PlayableDisc.Initialized) return string.Empty.PadLeft(20, '-'); // Otherwise, take the current time into account