mirror of
https://github.com/jrpie/Launcher.git
synced 2025-06-28 11:55:44 +02:00
Reduce computation when fuzzy search disabled
Respect the fuzzy search preference again to stop computing the fuzzy results when it is not enabled
This commit is contained in:
parent
bf6eae8bde
commit
7744974abb
1 changed files with 1 additions and 1 deletions
|
@ -76,7 +76,7 @@ class AppFilter(
|
|||
appsSecondary.add(item);
|
||||
} else if (itemLabel.contains(normalizedQuery)) {
|
||||
appsSecondary.add(item)
|
||||
} else {
|
||||
} else if (LauncherPreferences.functionality().searchFuzzy()) {
|
||||
if (isSubsequent(itemLabel, normalizedQuery)) {
|
||||
subsequentResult.add(item)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue