Skip to content

Commit 031f8fb

Browse files
committed
Hide Home button when Omnibar is enabled
1 parent e04bee2 commit 031f8fb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ public sealed partial class NavigationToolbarViewModel : ObservableObject, IAddr
7575

7676
public bool SearchHasFocus { get; private set; }
7777

78-
public bool ShowHomeButton => AppearanceSettingsService.ShowHomeButton;
78+
public bool ShowHomeButton => AppearanceSettingsService.ShowHomeButton && !GeneralSettingsService.EnableOmnibar;
7979
public bool EnableOmnibar => GeneralSettingsService.EnableOmnibar;
8080

8181
public bool ShowShelfPaneToggleButton => AppearanceSettingsService.ShowShelfPaneToggleButton && AppLifecycleHelper.AppEnvironment is AppEnvironment.Dev;

0 commit comments

Comments
 (0)