mirror of
https://github.com/microsoft/PowerToys.git
synced 2025-01-18 14:41:21 +08:00
apply correct theme at startup (#7796)
This commit is contained in:
parent
4228b9a772
commit
269b12226a
@ -9,7 +9,6 @@ using System.Threading;
|
||||
using System.Windows.Input;
|
||||
using ManagedCommon;
|
||||
using Microsoft.PowerToys.Settings.UI.Library;
|
||||
using Microsoft.PowerToys.Settings.UI.Library.Utilities;
|
||||
using PowerLauncher.Helper;
|
||||
using Wox.Core.Plugin;
|
||||
using Wox.Infrastructure.Hotkey;
|
||||
@ -43,6 +42,9 @@ namespace PowerLauncher
|
||||
|
||||
// Load initial settings file
|
||||
OverloadSettings();
|
||||
|
||||
// Apply theme at startup
|
||||
_themeManager.ChangeTheme(_settings.Theme, _settings.Theme == Theme.System);
|
||||
}
|
||||
|
||||
public void CreateSettingsIfNotExists()
|
||||
|
Loading…
Reference in New Issue
Block a user