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 b2e1073 commit b0d8ee2Copy full SHA for b0d8ee2
src/Files.App/Helpers/Layout/AdaptiveLayoutHelpers.cs
@@ -43,7 +43,7 @@ private static Layouts GetAdaptiveLayout(IList<ListedItem> filesAndFolders)
43
44
private static Layouts GetPathLayout()
45
{
46
- var desktopIni = ContentPageContext.ShellPage?.ShellViewModel.DesktopIni;
+ var desktopIni = ContentPageContext.ShellPage?.ShellViewModel?.DesktopIni;
47
if (desktopIni is null)
48
return Layouts.None;
49
0 commit comments