Skip to content

Commit 2d32bc9

Browse files
committed
fix method typo
1 parent 0df9f37 commit 2d32bc9

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,15 +58,15 @@ internal enum ActionKeyword
5858
_ => throw new ArgumentOutOfRangeException(nameof(actionKeyword), actionKeyword, "Unexpected property")
5959
};
6060

61-
internal bool? GetActionKeywordEnable(ActionKeyword actionKeyword) => actionKeyword switch
61+
internal bool? GetActionKeywordEnabled(ActionKeyword actionKeyword) => actionKeyword switch
6262
{
6363
ActionKeyword.SearchActionKeyword => SearchActionKeywordEnabled,
6464
ActionKeyword.PathSearchActionKeyword => PathSearchKeywordEnabled,
6565
ActionKeyword.IndexSearchActionKeyword => IndexOnlySearchKeywordEnabled,
6666
_ => null
6767
};
6868

69-
internal void SetActionKeywordEnable(ActionKeyword actionKeyword, bool enable) => _ = actionKeyword switch
69+
internal void SetActionKeywordEnabled(ActionKeyword actionKeyword, bool enable) => _ = actionKeyword switch
7070
{
7171
ActionKeyword.SearchActionKeyword => SearchActionKeywordEnabled = enable,
7272
ActionKeyword.PathSearchActionKeyword => PathSearchKeywordEnabled = enable,

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -337,8 +337,8 @@ public string Keyword
337337

338338
public bool? Enabled
339339
{
340-
get => _settings.GetActionKeywordEnable(KeywordProperty);
341-
set => _settings.SetActionKeywordEnable(KeywordProperty,
340+
get => _settings.GetActionKeywordEnabled(KeywordProperty);
341+
set => _settings.SetActionKeywordEnabled(KeywordProperty,
342342
value ?? throw new ArgumentException("Unexpected null value"));
343343
}
344344
}

0 commit comments

Comments
 (0)