Skip to content

Commit 0d6836e

Browse files
authored
Fix: Fixed issue where the home button didn't work when viewing tags (#17669)
1 parent 53466f5 commit 0d6836e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/Files.App/ViewModels/UserControls/NavigationToolbarViewModel.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -510,7 +510,8 @@ public async Task HandleItemNavigationAsync(string path)
510510
return;
511511

512512
if (normalizedInput.Equals(ContentPageContext.ShellPage.ShellViewModel.WorkingDirectory) &&
513-
ContentPageContext.ShellPage.CurrentPageType != typeof(HomePage))
513+
ContentPageContext.ShellPage.CurrentPageType != typeof(HomePage) &&
514+
!ContentPageContext.ShellPage.ShellViewModel.IsSearchResults)
514515
return;
515516

516517
if (normalizedInput.Equals("Home", StringComparison.OrdinalIgnoreCase) ||

0 commit comments

Comments
 (0)