File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -81,20 +81,21 @@ await Stopwatch.NormalAsync("|App.OnStartup|Startup cost", async () =>
81
81
82
82
await PluginManager . InitializePluginsAsync ( API ) ;
83
83
await imageLoadertask ;
84
-
84
+
85
85
var window = new MainWindow ( _settings , _mainVM ) ;
86
86
87
87
Log . Info ( $ "|App.OnStartup|Dependencies Info:{ ErrorReporting . DependenciesInfo ( ) } ") ;
88
88
89
89
Current . MainWindow = window ;
90
90
Current . MainWindow . Title = Constant . FlowLauncher ;
91
91
92
- HotKeyMapper . Initialize ( _mainVM ) ;
93
-
94
92
// todo temp fix for instance code logic
95
93
// load plugin before change language, because plugin language also needs be changed
96
94
InternationalizationManager . Instance . Settings = _settings ;
97
95
InternationalizationManager . Instance . ChangeLanguage ( _settings . Language ) ;
96
+
97
+ HotKeyMapper . Initialize ( _mainVM ) ;
98
+
98
99
// main windows needs initialized before theme change because of blur settings
99
100
ThemeManager . Instance . Settings = _settings ;
100
101
ThemeManager . Instance . ChangeTheme ( _settings . Theme ) ;
You can’t perform that action at this time.
0 commit comments