Skip to content

Commit c26273f

Browse files
authored
Fix: Fixed crash from #10467 (#10910)
1 parent 42d2042 commit c26273f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Files.App/UserControls/SidebarControl.xaml.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -448,7 +448,7 @@ private async void Sidebar_ItemInvoked(NavigationView sender, NavigationViewItem
448448
return;
449449
}
450450

451-
var navigationPath = args.InvokedItemContainer.Tag.ToString();
451+
var navigationPath = args.InvokedItemContainer.Tag?.ToString();
452452

453453
if (await CheckEmptyDrive(navigationPath))
454454
return;

0 commit comments

Comments
 (0)