From f6a7445cc902db7aef97cca66e1b594aa3c05014 Mon Sep 17 00:00:00 2001 From: hishitetsu <66369541+hishitetsu@users.noreply.github.com> Date: Fri, 21 Jul 2023 21:35:28 +0900 Subject: [PATCH] Fix: Fixed issue where the app sometimes got stuck on splash screen (#13013) --- src/Files.App/MainWindow.xaml.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Files.App/MainWindow.xaml.cs b/src/Files.App/MainWindow.xaml.cs index 534f7cb7dc5c..89464da8e3ca 100644 --- a/src/Files.App/MainWindow.xaml.cs +++ b/src/Files.App/MainWindow.xaml.cs @@ -213,7 +213,7 @@ async Task PerformNavigation(string payload, string selectItem = null) LeftPaneSelectItemParam = selectItem, }; - if (rootFrame.Content is not null) + if (rootFrame.Content is MainPage) await mainPageViewModel.AddNewTabByParam(typeof(PaneHolderPage), paneNavigationArgs); else rootFrame.Navigate(typeof(MainPage), paneNavigationArgs, new SuppressNavigationTransitionInfo());