File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Plugins/Flow.Launcher.Plugin.Explorer Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -58,15 +58,15 @@ internal enum ActionKeyword
58
58
_ => throw new ArgumentOutOfRangeException ( nameof ( actionKeyword ) , actionKeyword , "Unexpected property" )
59
59
} ;
60
60
61
- internal bool ? GetActionKeywordEnable ( ActionKeyword actionKeyword ) => actionKeyword switch
61
+ internal bool ? GetActionKeywordEnabled ( ActionKeyword actionKeyword ) => actionKeyword switch
62
62
{
63
63
ActionKeyword . SearchActionKeyword => SearchActionKeywordEnabled ,
64
64
ActionKeyword . PathSearchActionKeyword => PathSearchKeywordEnabled ,
65
65
ActionKeyword . IndexSearchActionKeyword => IndexOnlySearchKeywordEnabled ,
66
66
_ => null
67
67
} ;
68
68
69
- internal void SetActionKeywordEnable ( ActionKeyword actionKeyword , bool enable ) => _ = actionKeyword switch
69
+ internal void SetActionKeywordEnabled ( ActionKeyword actionKeyword , bool enable ) => _ = actionKeyword switch
70
70
{
71
71
ActionKeyword . SearchActionKeyword => SearchActionKeywordEnabled = enable ,
72
72
ActionKeyword . PathSearchActionKeyword => PathSearchKeywordEnabled = enable ,
Original file line number Diff line number Diff line change @@ -337,8 +337,8 @@ public string Keyword
337
337
338
338
public bool ? Enabled
339
339
{
340
- get => _settings . GetActionKeywordEnable ( KeywordProperty ) ;
341
- set => _settings . SetActionKeywordEnable ( KeywordProperty ,
340
+ get => _settings . GetActionKeywordEnabled ( KeywordProperty ) ;
341
+ set => _settings . SetActionKeywordEnabled ( KeywordProperty ,
342
342
value ?? throw new ArgumentException ( "Unexpected null value" ) ) ;
343
343
}
344
344
}
You can’t perform that action at this time.
0 commit comments