Don't surface hidden settings when searching
(cherry picked from commit 3d153b6c8eab77ec9da03aac4e06ae93b6922e79)
This commit is contained in:
parent
78f48d28c3
commit
b001768b96
@ -116,7 +116,7 @@ object SettingsSearchHelper {
|
||||
getSettingSearchResult(ctrl, subPref, breadcrumbsStr) // recursion
|
||||
}
|
||||
}
|
||||
(pref.title != null) -> {
|
||||
(pref.title != null && pref.isVisible) -> {
|
||||
// Is an actual preference
|
||||
val title = pref.title.toString()
|
||||
val summary = pref.summary?.toString() ?: ""
|
||||
|
Loading…
x
Reference in New Issue
Block a user