Skip to content

Commit 272f411

Browse files
committed
Add return statement....
1 parent b074902 commit 272f411

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Flow.Launcher.Infrastructure/StringMatcher.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,9 @@ public MatchResult FuzzyMatch(string query, string stringToCompare, MatchOption
102102
}
103103
}
104104

105+
if (acronymMatchData.Count == query.Length && acronymScore >= 60)
106+
return new MatchResult(true, UserSettingSearchPrecision, acronymMatchData, acronymScore);
107+
105108
var fullStringToCompareWithoutCase = opt.IgnoreCase ? stringToCompare.ToLower() : stringToCompare;
106109

107110

0 commit comments

Comments
 (0)