Fix autocomplete on Program plugin (#1850)

* Fix autocomplete on Program plugin

* Code refactor
This commit is contained in:
Lasith Manujitha 2023-01-26 10:01:40 +05:30 committed by GitHub
parent 000ca23ee2
commit 7fc704558d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 0 deletions

View file

@ -408,6 +408,7 @@ namespace Flow.Launcher.Plugin.Program.Programs
var result = new Result
{
Title = title,
AutoCompleteText = Name,
SubTitle = Main._settings.HideAppsPath ? string.Empty : Location,
IcoPath = LogoPath,
Preview = new Result.PreviewInfo

View file

@ -155,6 +155,7 @@ namespace Flow.Launcher.Plugin.Program.Programs
var result = new Result
{
Title = title,
AutoCompleteText = resultName,
SubTitle = subtitle,
IcoPath = IcoPath,
Score = matchResult.Score,