From 3d153b6c8eab77ec9da03aac4e06ae93b6922e79 Mon Sep 17 00:00:00 2001 From: arkon Date: Tue, 15 Dec 2020 23:17:20 -0500 Subject: [PATCH] Don't surface hidden settings when searching --- .../kanade/tachiyomi/ui/setting/search/SettingsSearchHelper.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/eu/kanade/tachiyomi/ui/setting/search/SettingsSearchHelper.kt b/app/src/main/java/eu/kanade/tachiyomi/ui/setting/search/SettingsSearchHelper.kt index 54a362410..06abd82e6 100644 --- a/app/src/main/java/eu/kanade/tachiyomi/ui/setting/search/SettingsSearchHelper.kt +++ b/app/src/main/java/eu/kanade/tachiyomi/ui/setting/search/SettingsSearchHelper.kt @@ -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() ?: ""