Skip to content

Commit ba70b59

Browse files
authored
Fix: Fixed NullReferenceException in ContentPageContext (#12700)
1 parent 5b710c5 commit ba70b59

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Files.App/Contexts/ContentPage/ContentPageContext.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ internal class ContentPageContext : ObservableObject, IContentPageContext
5353

5454
public bool CanExecuteGitAction => IsGitRepository && !GitHelpers.IsExecutingGitAction;
5555

56-
public string? SolutionFilePath => ShellPage?.FilesystemViewModel.SolutionFilePath;
56+
public string? SolutionFilePath => ShellPage?.FilesystemViewModel?.SolutionFilePath;
5757

5858
public ContentPageContext()
5959
{

0 commit comments

Comments
 (0)