We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fda8163 commit 5b9f84cCopy full SHA for 5b9f84c
src/Files.App/Views/Shells/BaseShellPage.cs
@@ -625,7 +625,7 @@ public void ResetNavigationStackLayoutMode()
625
626
public void RemoveLastPageFromBackStack()
627
{
628
- ItemDisplay.BackStack.Remove(ItemDisplay.BackStack.Last());
+ ItemDisplay.BackStack.Remove(ItemDisplay.BackStack.LastOrDefault());
629
}
630
631
public void RaiseContentChanged(IShellPage instance, CustomTabViewItemParameter args)
0 commit comments