mirror of
https://github.com/jrpie/Launcher.git
synced 2025-06-28 03:45:36 +02:00
Fix sorting of fuzzy results
This commit is contained in:
parent
3917e34239
commit
90c6147fc9
1 changed files with 1 additions and 2 deletions
|
@ -24,7 +24,6 @@ class AppFilter(
|
|||
operator fun invoke(apps: List<AbstractDetailedAppInfo>): List<AbstractDetailedAppInfo> {
|
||||
var apps =
|
||||
apps.sortedBy { app -> app.getCustomLabel(context).lowercase(Locale.ROOT) }
|
||||
|
||||
val hidden = LauncherPreferences.apps().hidden() ?: setOf()
|
||||
val favorites = LauncherPreferences.apps().favorites() ?: setOf()
|
||||
val private = apps.filter { it.isPrivate() }
|
||||
|
@ -94,7 +93,7 @@ class AppFilter(
|
|||
r.addAll(result.keys)
|
||||
}
|
||||
}
|
||||
return r.toList()
|
||||
return r.toList().sortedBy { it.getCustomLabel(context).lowercase(Locale.ROOT) }
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue