mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-07 19:57:07 +02:00
Refactoring DelayInvoke
In MainWindow.xaml.cs, the reference of originQuery, lastQuery and tbQuery.Text are same, so remove originQuery is fine.
This commit is contained in:
@@ -464,7 +464,7 @@ namespace Wox
|
||||
|
||||
private void DelayChangeTheme()
|
||||
{
|
||||
Dispatcher.DelayInvoke("delayChangeTheme", o =>
|
||||
Dispatcher.DelayInvoke("delayChangeTheme", () =>
|
||||
{
|
||||
ThemeManager.Theme.ChangeTheme(UserSettingStorage.Instance.Theme);
|
||||
}, TimeSpan.FromMilliseconds(100));
|
||||
|
||||
Reference in New Issue
Block a user