Skip to content

Commit 2b0a914

Browse files
authored
Code Quality: Ensure content before setting backdrop (#15867)
1 parent 687a8b3 commit 2b0a914

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Files.App/MainWindow.xaml.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,11 +62,11 @@ public void ShowSplashScreen()
6262

6363
public async Task InitializeApplicationAsync(object activatedEventArgs)
6464
{
65+
var rootFrame = EnsureWindowIsInitialized();
66+
6567
// Set system backdrop
6668
SystemBackdrop = new AppSystemBackdrop();
6769

68-
var rootFrame = EnsureWindowIsInitialized();
69-
7070
switch (activatedEventArgs)
7171
{
7272
case ILaunchActivatedEventArgs launchArgs:

0 commit comments

Comments
 (0)