mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
Fix result update interface issue
This commit is contained in:
parent
dda008f80b
commit
a160a78190
2 changed files with 2 additions and 2 deletions
|
|
@ -131,6 +131,7 @@ namespace Flow.Launcher
|
|||
Ioc.Default.GetRequiredService<Internationalization>().ChangeLanguage(_settings.Language);
|
||||
|
||||
PluginManager.LoadPlugins(_settings.PluginSettings);
|
||||
Ioc.Default.GetRequiredService<MainViewModel>().RegisterResultsUpdatedEvent();
|
||||
|
||||
Http.Proxy = _settings.Proxy;
|
||||
|
||||
|
|
|
|||
|
|
@ -168,7 +168,6 @@ namespace Flow.Launcher.ViewModel
|
|||
};
|
||||
|
||||
RegisterViewUpdate();
|
||||
RegisterResultsUpdatedEvent();
|
||||
_ = RegisterClockAndDateUpdateAsync();
|
||||
}
|
||||
|
||||
|
|
@ -213,7 +212,7 @@ namespace Flow.Launcher.ViewModel
|
|||
}
|
||||
}
|
||||
|
||||
private void RegisterResultsUpdatedEvent()
|
||||
public void RegisterResultsUpdatedEvent()
|
||||
{
|
||||
foreach (var pair in PluginManager.GetPluginsForInterface<IResultUpdated>())
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue