From 98d0e59fce7f13b8e4f3985c6db0b3f4cd884179 Mon Sep 17 00:00:00 2001 From: Yair <39923744+yaira2@users.noreply.github.com> Date: Thu, 25 Jul 2024 13:27:15 -0400 Subject: [PATCH] Update MainWindow.xaml.cs --- src/Files.App/MainWindow.xaml.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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: