mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-20 03:08:19 +00:00
Apply searchResultSettings preference
This commit is contained in:
@@ -215,8 +215,12 @@ sealed class LawnchairSearchAlgorithm(
|
||||
}
|
||||
|
||||
val settingsDeferred = async {
|
||||
findSettingsByNameAndAction(query, maxSettingsEntryCount)
|
||||
.map { SearchResult(SETTING, it) }
|
||||
if (prefs.searchResultSettings.get()) {
|
||||
findSettingsByNameAndAction(query, maxSettingsEntryCount)
|
||||
.map { SearchResult(SETTING, it) }
|
||||
} else {
|
||||
emptyList()
|
||||
}
|
||||
}
|
||||
|
||||
val startPageSuggestionsDeferred = async {
|
||||
|
||||
Reference in New Issue
Block a user