mirror of
https://github.com/mihonapp/mihon.git
synced 2024-11-10 04:37:25 +01:00
Don't surface hidden settings when searching
This commit is contained in:
parent
04fff91e23
commit
3d153b6c8e
@ -98,7 +98,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…
Reference in New Issue
Block a user