remove comment

This commit is contained in:
Jeremy 2021-09-02 07:47:05 +10:00
parent c2758ba7d4
commit 0534dece0b

View file

@ -74,8 +74,7 @@ namespace Flow.Launcher.Plugin.Explorer.Views
var oldActionKeyword = CurrentActionKeyword.Keyword;
// == because of nullable
if (Enabled == false || !settingsViewModel.IsActionKeywordAlreadyAssigned(ActionKeyword))
if (!Enabled || !settingsViewModel.IsActionKeywordAlreadyAssigned(ActionKeyword))
{
// Update View Data
CurrentActionKeyword.Keyword = Enabled == true ? ActionKeyword : Query.GlobalPluginWildcardSign;
@ -84,7 +83,7 @@ namespace Flow.Launcher.Plugin.Explorer.Views
switch (Enabled)
{
// reset to global so it does not take up an action keyword when disabled
// not for null Enable plugin
// not for null Enable plugin
case false when oldActionKeyword != Query.GlobalPluginWildcardSign:
settingsViewModel.UpdateActionKeyword(CurrentActionKeyword.KeywordProperty,
Query.GlobalPluginWildcardSign, oldActionKeyword);