fix(id/animeindo): Ignore broken search filter (#2029)

This commit is contained in:
Claudemirovsky
2023-08-09 07:15:43 -03:00
committed by GitHub
parent dc9bfd773f
commit 01aff3a98a
2 changed files with 7 additions and 2 deletions

View File

@ -48,7 +48,12 @@ object AnimeIndoFilters {
Pair(key, value)
}.toTypedArray()
private val ORDER_LIST by lazy { getPairListByIndex(0) }
private val ORDER_LIST by lazy {
getPairListByIndex(0)
.filterNot { it.first.contains("Most favorite", true) }
.toTypedArray()
}
private val STATUS_LIST by lazy { getPairListByIndex(1) }
private val TYPE_LIST by lazy { getPairListByIndex(2) }
private val GENRES_LIST by lazy { getPairListByIndex(3) }

View File

@ -11,7 +11,7 @@ class AnimeStreamGenerator : ThemeSourceGenerator {
override val baseVersionCode = 2
override val sources = listOf(
SingleLang("AnimeIndo", "https://animeindo.quest", "id", isNsfw = false),
SingleLang("AnimeIndo", "https://animeindo.quest", "id", isNsfw = false, overrideVersionCode = 1),
SingleLang("AnimeKhor", "https://animekhor.xyz", "en", isNsfw = false),
SingleLang("Animenosub", "https://animenosub.com", "en", isNsfw = true),
SingleLang("AnimeTitans", "https://animetitans.com", "ar", isNsfw = false, overrideVersionCode = 11),