mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
Cleanup codes
This commit is contained in:
parent
adbd262292
commit
81715f12ea
1 changed files with 12 additions and 13 deletions
|
|
@ -83,6 +83,18 @@ namespace Flow.Launcher.ViewModel
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public int Priority
|
||||||
|
{
|
||||||
|
get => PluginPair.Metadata.Priority;
|
||||||
|
set
|
||||||
|
{
|
||||||
|
if (PluginPair.Metadata.Priority != value)
|
||||||
|
{
|
||||||
|
ChangePriority(value);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
public SearchDelayTime? PluginSearchDelayTime
|
public SearchDelayTime? PluginSearchDelayTime
|
||||||
{
|
{
|
||||||
get => PluginPair.Metadata.SearchDelayTime;
|
get => PluginPair.Metadata.SearchDelayTime;
|
||||||
|
|
@ -127,19 +139,6 @@ namespace Flow.Launcher.ViewModel
|
||||||
App.API.GetTranslation("plugin_query_time") + " " +
|
App.API.GetTranslation("plugin_query_time") + " " +
|
||||||
PluginPair.Metadata.AvgQueryTime + "ms";
|
PluginPair.Metadata.AvgQueryTime + "ms";
|
||||||
public string ActionKeywordsText => string.Join(Query.ActionKeywordSeparator, PluginPair.Metadata.ActionKeywords);
|
public string ActionKeywordsText => string.Join(Query.ActionKeywordSeparator, PluginPair.Metadata.ActionKeywords);
|
||||||
//public int Priority => PluginPair.Metadata.Priority;
|
|
||||||
private int _priority;
|
|
||||||
public int Priority
|
|
||||||
{
|
|
||||||
get => PluginPair.Metadata.Priority;
|
|
||||||
set
|
|
||||||
{
|
|
||||||
if (PluginPair.Metadata.Priority != value)
|
|
||||||
{
|
|
||||||
ChangePriority(value);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
public string SearchDelayTimeText => PluginPair.Metadata.SearchDelayTime == null ?
|
public string SearchDelayTimeText => PluginPair.Metadata.SearchDelayTime == null ?
|
||||||
App.API.GetTranslation("default") :
|
App.API.GetTranslation("default") :
|
||||||
App.API.GetTranslation($"SearchDelayTime{PluginPair.Metadata.SearchDelayTime}");
|
App.API.GetTranslation($"SearchDelayTime{PluginPair.Metadata.SearchDelayTime}");
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue