mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
Remove Score = -100 from result objects in PluginManager
Removed the `Score = -100` property from multiple result objects in `PluginManager.cs` to simplify the code and improve clarity. Adjusted the formatting and structure to ensure proper syntax and maintain code consistency. This includes changes to result objects that handle re-querying and exception handling.
This commit is contained in:
parent
68454a8a6e
commit
fbeaafa8d3
1 changed files with 3 additions and 6 deletions
|
|
@ -411,8 +411,7 @@ namespace Flow.Launcher.Core.Plugin
|
|||
{
|
||||
PublicApi.Instance.ReQuery();
|
||||
return false;
|
||||
},
|
||||
Score = -100
|
||||
}
|
||||
};
|
||||
results.Add(r);
|
||||
return results;
|
||||
|
|
@ -450,8 +449,7 @@ namespace Flow.Launcher.Core.Plugin
|
|||
ActionKeywordAssigned = query.ActionKeyword,
|
||||
PluginID = metadata.ID,
|
||||
OriginQuery = query,
|
||||
Action = _ => { throw new FlowPluginException(metadata, e);},
|
||||
Score = -100
|
||||
Action = _ => { throw new FlowPluginException(metadata, e);}
|
||||
};
|
||||
results.Add(r);
|
||||
}
|
||||
|
|
@ -479,8 +477,7 @@ namespace Flow.Launcher.Core.Plugin
|
|||
{
|
||||
PublicApi.Instance.ReQuery();
|
||||
return false;
|
||||
},
|
||||
Score = -100
|
||||
}
|
||||
};
|
||||
results.Add(r);
|
||||
return results;
|
||||
|
|
|
|||
Loading…
Reference in a new issue