From 4e5df3c49f67ab551996239367cd22ce7d7da41b Mon Sep 17 00:00:00 2001 From: hishitetsu <66369541+hishitetsu@users.noreply.github.com> Date: Sat, 25 May 2024 21:56:30 +0900 Subject: [PATCH] Update QuickAccessWidgetViewModel.cs --- .../UserControls/Widgets/QuickAccessWidgetViewModel.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Files.App/ViewModels/UserControls/Widgets/QuickAccessWidgetViewModel.cs b/src/Files.App/ViewModels/UserControls/Widgets/QuickAccessWidgetViewModel.cs index 5b4674e9ba3c..468f4c5c28d0 100644 --- a/src/Files.App/ViewModels/UserControls/Widgets/QuickAccessWidgetViewModel.cs +++ b/src/Files.App/ViewModels/UserControls/Widgets/QuickAccessWidgetViewModel.cs @@ -225,8 +225,8 @@ public async Task NavigateToPath(string path) return; } - ContentPageContext.ShellPage!.NavigateWithArguments( - ContentPageContext.ShellPage!.InstanceViewModel.FolderSettings.GetLayoutType(path), + ContentPageContext.ShellPage?.NavigateWithArguments( + ContentPageContext.ShellPage.InstanceViewModel.FolderSettings.GetLayoutType(path), new() { NavPathParam = path }); }