Minor refact

This commit is contained in:
Nikolaj Olsson 2024-04-17 15:53:43 +02:00
parent 780a8f7c7c
commit cba767ce32

View File

@ -277,14 +277,7 @@ namespace Nikse.SubtitleEdit.Forms
{
checkBoxRightToLeft.Enabled = false;
labelProgress.Text = LanguageSettings.Current.Main.NoSubtitleLoaded;
if (Configuration.Settings.General.UseDarkTheme)
{
labelProgress.ForeColor = Color.Yellow;
}
else
{
labelProgress.ForeColor = Color.DarkGoldenrod;
}
labelProgress.ForeColor = Configuration.Settings.General.UseDarkTheme ? Color.Yellow : Color.DarkGoldenrod;
}
}