Skip to content

Commit f6a7445

Browse files
authored
Fix: Fixed issue where the app sometimes got stuck on splash screen (#13013)
1 parent 1fda28c commit f6a7445

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Files.App/MainWindow.xaml.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ async Task PerformNavigation(string payload, string selectItem = null)
213213
LeftPaneSelectItemParam = selectItem,
214214
};
215215

216-
if (rootFrame.Content is not null)
216+
if (rootFrame.Content is MainPage)
217217
await mainPageViewModel.AddNewTabByParam(typeof(PaneHolderPage), paneNavigationArgs);
218218
else
219219
rootFrame.Navigate(typeof(MainPage), paneNavigationArgs, new SuppressNavigationTransitionInfo());

0 commit comments

Comments
 (0)