diff --git a/src/Files.App/MainWindow.xaml.cs b/src/Files.App/MainWindow.xaml.cs index 0bd6c7279cbc..647b0e26f86d 100644 --- a/src/Files.App/MainWindow.xaml.cs +++ b/src/Files.App/MainWindow.xaml.cs @@ -62,11 +62,11 @@ public void ShowSplashScreen() public async Task InitializeApplicationAsync(object activatedEventArgs) { + var rootFrame = EnsureWindowIsInitialized(); + // Set system backdrop SystemBackdrop = new AppSystemBackdrop(); - var rootFrame = EnsureWindowIsInitialized(); - switch (activatedEventArgs) { case ILaunchActivatedEventArgs launchArgs: