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 06abd82e6..561791041 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 @@ -101,7 +101,8 @@ object SettingsSearchHelper { (pref.title != null && pref.isVisible) -> { // Is an actual preference val title = pref.title.toString() - val summary = pref.summary?.toString() ?: "" + // ListPreferences occasionally run into ArrayIndexOutOfBoundsException issues + val summary = try { pref.summary?.toString() ?: "" } catch (e: Throwable) { "" } val breadcrumbsStr = addLocalizedBreadcrumb(breadcrumbs, "${pref.title}") prefSearchResultList.add(