Skip to content

Commit

Permalink
Fix: Fixed NullReferenceException in ColumnShellPage.NavigateToPath (f…
Browse files Browse the repository at this point in the history
  • Loading branch information
yaira2 committed Jan 4, 2024
1 parent 96b5fb7 commit fa2caab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Files.App/Views/Shells/ColumnShellPage.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ public override void Up_Click()

public override void NavigateToPath(string navigationPath, Type sourcePageType, NavigationArguments navArgs = null)
{
this.FindAscendant<ColumnsLayoutPage>().SetSelectedPathOrNavigate(navigationPath, sourcePageType, navArgs);
this.FindAscendant<ColumnsLayoutPage>()?.SetSelectedPathOrNavigate(navigationPath, sourcePageType, navArgs);
}

public override void NavigateHome()
Expand Down

0 comments on commit fa2caab

Please sign in to comment.