Adjust highlight priority to match order of search results

This commit is contained in:
MM20 2023-02-20 14:21:58 +01:00
parent 5c44276b26
commit 238a01c15e
No known key found for this signature in database
GPG Key ID: 0B61A8F2DEAFA389

View File

@ -168,11 +168,13 @@ class SearchVM : ViewModel(), KoinComponent {
apps, apps,
workApps, workApps,
shortcuts, shortcuts,
files, unitConv,
contacts, calc,
events, events,
contacts,
wikipedia, wikipedia,
website, website,
files,
actions actions
).firstNotNullOfOrNull { it.firstOrNull() } ).firstNotNullOfOrNull { it.firstOrNull() }
} }