File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -250,8 +250,6 @@ protected override void OnLaunched(LaunchActivatedEventArgs e)
250
250
rootFrame . Navigate ( typeof ( InstanceTabsView ) , e . Arguments , new SuppressNavigationTransitionInfo ( ) ) ;
251
251
}
252
252
253
- ThemeHelper . Initialize ( ) ;
254
-
255
253
// Ensure the current window is active
256
254
Window . Current . Activate ( ) ;
257
255
Window . Current . CoreWindow . PointerPressed += CoreWindow_PointerPressed ;
@@ -284,7 +282,6 @@ protected override async void OnActivated(IActivatedEventArgs args)
284
282
Window . Current . Content = rootFrame ;
285
283
}
286
284
287
- ThemeHelper . Initialize ( ) ;
288
285
var currentView = SystemNavigationManager . GetForCurrentView ( ) ;
289
286
switch ( args . Kind )
290
287
{
@@ -300,6 +297,7 @@ protected override async void OnActivated(IActivatedEventArgs args)
300
297
var trimmedPath = eventArgs . Uri . OriginalString . Split ( '=' ) [ 1 ] ;
301
298
rootFrame . Navigate ( typeof ( InstanceTabsView ) , @trimmedPath , new SuppressNavigationTransitionInfo ( ) ) ;
302
299
}
300
+
303
301
// Ensure the current window is active.
304
302
Window . Current . Activate ( ) ;
305
303
Window . Current . CoreWindow . PointerPressed += CoreWindow_PointerPressed ;
Original file line number Diff line number Diff line change @@ -47,6 +47,8 @@ public InstanceTabsView()
47
47
48
48
Window . Current . SizeChanged += Current_SizeChanged ;
49
49
Current_SizeChanged ( null , null ) ;
50
+
51
+ Helpers . ThemeHelper . Initialize ( ) ;
50
52
}
51
53
52
54
public static TabWindowProperties WindowProperties { get ; set ; } = new TabWindowProperties ( ) ;
You can’t perform that action at this time.
0 commit comments