Skip to content

Commit 3dc4020

Browse files
committed
Disable search mode
1 parent 2f35383 commit 3dc4020

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

src/Files.App/UserControls/NavigationToolbar.xaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -430,6 +430,7 @@
430430
IconOnActive="{controls:ThemedIconMarkup Style={StaticResource App.ThemedIcons.Omnibar.Search}, IsFilled=True}"
431431
IconOnInactive="{controls:ThemedIconMarkup Style={StaticResource App.ThemedIcons.Omnibar.Search}, IconType=Outline}"
432432
IsAutoFocusEnabled="True"
433+
IsEnabled="False"
433434
ModeName="{x:Bind Commands.Search.LabelWithHotKey, Mode=OneWay}"
434435
PlaceholderText="{helpers:ResourceString Name=OmnibarSearchModeTextPlaceholder}" />
435436

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -792,7 +792,8 @@ public void SwitchToSearchMode()
792792
{
793793
if (EnableOmnibar)
794794
{
795-
OmnibarCurrentSelectedModeName = OmnibarSearchModeName;
795+
// TODO enable when implemented
796+
// OmnibarCurrentSelectedModeName = OmnibarSearchModeName;
796797
}
797798
else
798799
{

0 commit comments

Comments
 (0)