Skip to content

Commit ff867d2

Browse files
committed
Initial commit
Fix misaligned suggestion text
1 parent 1e18e26 commit ff867d2

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Plugins/Flow.Launcher.Plugin.Explorer/Search/ResultManager.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ internal static Result CreateFolderResult(string title, string subtitle, string
2727
Title = title,
2828
IcoPath = path,
2929
SubTitle = subtitle,
30+
AutoCompleteText = $"{subtitle}\\",
3031
TitleHighlightData = StringMatcher.FuzzySearch(query.Search, title).MatchData,
3132
Action = c =>
3233
{
@@ -123,6 +124,7 @@ internal static Result CreateFileResult(string filePath, Query query, int score
123124
Title = Path.GetFileName(filePath),
124125
SubTitle = filePath,
125126
IcoPath = filePath,
127+
AutoCompleteText = filePath,
126128
TitleHighlightData = StringMatcher.FuzzySearch(query.Search, Path.GetFileName(filePath)).MatchData,
127129
Score = score,
128130
Action = c =>

0 commit comments

Comments
 (0)