mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-03 17:56:44 +02:00
apply correct theme at startup (#7796)
This commit is contained in:
committed by
GitHub
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()
|
||||
|
||||
Reference in New Issue
Block a user