mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-08 12:18:50 +02:00
[OOBE]SetTheme function added for oobe in HandleThemeChange function. (#28345)
This commit is contained in:
@@ -288,6 +288,7 @@ namespace Microsoft.PowerToys.Settings.UI
|
||||
{
|
||||
var hWnd = WinRT.Interop.WindowNative.GetWindowHandle(oobeWindow);
|
||||
ThemeHelpers.SetImmersiveDarkMode(hWnd, isDark);
|
||||
oobeWindow.SetTheme(isDark);
|
||||
SetContentTheme(isDark, oobeWindow);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user