Skip to content

Commit 0534dec

Browse files
committed
remove comment
1 parent c2758ba commit 0534dec

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

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

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -74,8 +74,7 @@ private void OnDoneButtonClick(object sender, RoutedEventArgs e)
7474

7575
var oldActionKeyword = CurrentActionKeyword.Keyword;
7676

77-
// == because of nullable
78-
if (Enabled == false || !settingsViewModel.IsActionKeywordAlreadyAssigned(ActionKeyword))
77+
if (!Enabled || !settingsViewModel.IsActionKeywordAlreadyAssigned(ActionKeyword))
7978
{
8079
// Update View Data
8180
CurrentActionKeyword.Keyword = Enabled == true ? ActionKeyword : Query.GlobalPluginWildcardSign;
@@ -84,7 +83,7 @@ private void OnDoneButtonClick(object sender, RoutedEventArgs e)
8483
switch (Enabled)
8584
{
8685
// reset to global so it does not take up an action keyword when disabled
87-
// not for null Enable plugin
86+
// not for null Enable plugin
8887
case false when oldActionKeyword != Query.GlobalPluginWildcardSign:
8988
settingsViewModel.UpdateActionKeyword(CurrentActionKeyword.KeywordProperty,
9089
Query.GlobalPluginWildcardSign, oldActionKeyword);

0 commit comments

Comments
 (0)