diff --git a/src/ui/Forms/RemoveTextForHearImpaired.cs b/src/ui/Forms/RemoveTextForHearImpaired.cs index e89f6bd49..9554384a5 100644 --- a/src/ui/Forms/RemoveTextForHearImpaired.cs +++ b/src/ui/Forms/RemoveTextForHearImpaired.cs @@ -22,6 +22,7 @@ namespace Nikse.SubtitleEdit.Forms private readonly List _unchecked = new List(); private readonly List _edited = new List(); private readonly List _editedOld = new List(); + private static readonly Color _listBackMarkColor = Configuration.Settings.General.UseDarkTheme? Color.PaleVioletRed : Color.PeachPuff; public FormRemoveTextForHearImpaired(Main main, Subtitle subtitle) { @@ -145,7 +146,7 @@ namespace Nikse.SubtitleEdit.Forms if (_removeTextForHiLib.Warnings != null && _removeTextForHiLib.Warnings.Contains(_removeTextForHiLib.WarningIndex)) { item.UseItemStyleForSubItems = true; - item.BackColor = Color.PeachPuff; + item.BackColor = _listBackMarkColor; } item.SubItems.Add(p.Number.ToString(CultureInfo.InvariantCulture)); item.SubItems.Add(UiUtil.GetListViewTextFromString(p.Text));