mirror of
https://git.mihon.tech/mihonapp/mihon
synced 2024-11-24 14:15:54 +03:00
Don't surface hidden settings when searching
This commit is contained in:
parent
04fff91e23
commit
3d153b6c8e
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue