mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
Delay till assign to Current.MainWindow
This commit is contained in:
parent
739bf2036e
commit
04c92b05ee
1 changed files with 2 additions and 1 deletions
|
|
@ -78,12 +78,13 @@ namespace Flow.Launcher
|
|||
await PluginManager.InitializePlugins(API);
|
||||
var window = new MainWindow(_settings, _mainVM);
|
||||
|
||||
HotKeyMapper.Initialize(_mainVM);
|
||||
|
||||
Log.Info($"|App.OnStartup|Dependencies Info:{ErrorReporting.DependenciesInfo()}");
|
||||
|
||||
Current.MainWindow = window;
|
||||
Current.MainWindow.Title = Constant.FlowLauncher;
|
||||
|
||||
HotKeyMapper.Initialize(_mainVM);
|
||||
|
||||
// happlebao todo temp fix for instance code logic
|
||||
// load plugin before change language, because plugin language also needs be changed
|
||||
|
|
|
|||
Loading…
Reference in a new issue