Enable Dark Mode by Default

- Enabled dark mode by default (Looks decent enough)
This commit is contained in:
Frog
2025-11-21 02:52:01 -08:00
parent 12c7c9a9d2
commit ae08e990cc
+3 -3
View File
@@ -43,8 +43,8 @@ internal static class Program
internal static readonly string[] ProtectedGameDirectories = [@"\EasyAntiCheat", @"\BattlEye"]; internal static readonly string[] ProtectedGameDirectories = [@"\EasyAntiCheat", @"\BattlEye"];
internal static readonly string[] ProtectedGameDirectoryExceptions = []; internal static readonly string[] ProtectedGameDirectoryExceptions = [];
// Dark mode toggle (default false). Can be toggled via UI button. // Dark mode enabled by default
internal static bool DarkModeEnabled; internal static bool DarkModeEnabled = true;
internal static bool IsGameBlocked(string name, string directory = null) internal static bool IsGameBlocked(string name, string directory = null)
=> BlockProtectedGames && (ProtectedGames.Contains(name) || directory is not null && => BlockProtectedGames && (ProtectedGames.Contains(name) || directory is not null &&
@@ -73,7 +73,7 @@ internal static class Program
#if DEBUG #if DEBUG
DebugForm.Current.Attach(form); DebugForm.Current.Attach(form);
#endif #endif
// Apply initial theme // Apply initial theme (dark by default)
Utility.ThemeManager.Apply(form); Utility.ThemeManager.Apply(form);
Application.Run(form); Application.Run(form);
} }