diff --git a/HandheldCompanion/Managers/DynamicLightingManager.cs b/HandheldCompanion/Managers/DynamicLightingManager.cs index 5236b0fff..d8c5c98eb 100644 --- a/HandheldCompanion/Managers/DynamicLightingManager.cs +++ b/HandheldCompanion/Managers/DynamicLightingManager.cs @@ -129,13 +129,8 @@ private static bool GetAmbientLightingEnabled() private static void SetAmbientLightingEnabled(bool enabled) { using (RegistryKey key = Registry.CurrentUser.OpenSubKey(@"Software\Microsoft\Lighting", writable: true)) - { if (key != null) - { - // disable key.SetValue(OSAmbientLightingEnabledKey, enabled ? 1 : 0); - } - } } private static void MultimediaManager_DisplaySettingsChanged(DesktopScreen desktopScreen, ScreenResolution resolution)