From 310178b86fb532ca31f7b3593ab16c049b30fdfd Mon Sep 17 00:00:00 2001 From: niksedk Date: Sun, 16 Jul 2023 17:14:02 +0200 Subject: [PATCH] Fix for Dark Theme --- src/ui/Logic/DarkTheme.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ui/Logic/DarkTheme.cs b/src/ui/Logic/DarkTheme.cs index 5c141b84f..b7a3fe525 100644 --- a/src/ui/Logic/DarkTheme.cs +++ b/src/ui/Logic/DarkTheme.cs @@ -11,8 +11,8 @@ namespace Nikse.SubtitleEdit.Logic { public static class DarkTheme { - internal static readonly Color BackColor = Configuration.Settings.General.DarkThemeBackColor; - internal static readonly Color ForeColor = Configuration.Settings.General.DarkThemeForeColor; + public static Color BackColor => Configuration.Settings.General.DarkThemeBackColor; + public static Color ForeColor => Configuration.Settings.General.DarkThemeForeColor; private const int DWMWA_USE_IMMERSIVE_DARK_MODE_BEFORE_20H1 = 19; private const int DWMWA_USE_IMMERSIVE_DARK_MODE = 20;