Skip to content

Commit

Permalink
Disallow disabling app results on app search algorithm
Browse files Browse the repository at this point in the history
  • Loading branch information
SuperDragonXD authored Aug 18, 2024
1 parent 97a62ef commit 4c71a0f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ fun SearchPreferences() {
SearchSuggestionPreference(
checked = if (canDisable) adapter.state.value else true,
onCheckedChange = if (canDisable) adapter::onChange else ({}),
enabled = true,
enabled = if (canDisable) true else false,
onRequestPermission = {},
maxCountAdapter = prefs2.maxAppSearchResultCount.getAdapter(),
maxCountRange = 3..15,
Expand Down

0 comments on commit 4c71a0f

Please sign in to comment.