Skip to content

Commit ee38561

Browse files
committed
allow File Content search to be toggled on off
1 parent 0534dec commit ee38561

File tree

3 files changed

+1
-8
lines changed

3 files changed

+1
-8
lines changed

Plugins/Flow.Launcher.Plugin.Explorer/Settings.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
using Flow.Launcher.Plugin.Explorer.Search;
22
using Flow.Launcher.Plugin.Explorer.Search.QuickAccessLinks;
3-
using Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption;
43
using System;
54
using System.Collections.Generic;
6-
using System.IO;
75

86
namespace Flow.Launcher.Plugin.Explorer
97
{

Plugins/Flow.Launcher.Plugin.Explorer/Views/ActionKeywordSetting.xaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,7 @@
3030
<CheckBox Name="ChkActionKeywordEnabled" ToolTip="{DynamicResource plugin_explorer_actionkeyword_enabled_tooltip}"
3131
Margin="10" Grid.Row="0" Grid.Column="2" Content="{DynamicResource plugin_explorer_actionkeyword_enabled}"
3232
Width="auto"
33-
VerticalAlignment="Center" IsChecked="{Binding Enabled}"
34-
Visibility="{Binding EnabledVisibility}"/>
33+
VerticalAlignment="Center" IsChecked="{Binding Enabled}" />
3534
<Button Name="DownButton"
3635
Click="OnDoneButtonClick" Grid.Row="1" Grid.Column="2"
3736
Margin="10 0 10 0" Width="80" Height="35"

Plugins/Flow.Launcher.Plugin.Explorer/Views/ActionKeywordSetting.xaml.cs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,6 @@ public string ActionKeyword
3232

3333
private string actionKeyword;
3434

35-
public Visibility EnabledVisibility
36-
=> CurrentActionKeyword.KeywordProperty == Settings.ActionKeyword.FileContentSearchActionKeyword
37-
? Visibility.Collapsed : Visibility.Visible;
38-
3935
public ActionKeywordSetting(SettingsViewModel settingsViewModel,
4036
ActionKeywordView selectedActionKeyword)
4137
{

0 commit comments

Comments
 (0)