Files
PowerToys/src/modules/powerdisplay/PowerDisplay.Lib/Services/LightSwitchService.cs
Yu Leng 87eb7cc07f Refactor LightSwitch integration: decouple event handling
Removed LightSwitchListener and ThemeChangedEventArgs. Added LightSwitchService to centralize theme/profile logic. Updated event registration and MainViewModel to handle LightSwitch theme changes via service, decoupling event listening from profile application. Event listening now handled externally.
2025-12-11 10:08:51 +08:00

4.3 KiB