SayHentai: Fix filtering by genre (#435)
This commit is contained in:
parent
5fa08faf08
commit
1549a6ad52
|
@ -1,7 +1,7 @@
|
||||||
ext {
|
ext {
|
||||||
extName = "SayHentai"
|
extName = "SayHentai"
|
||||||
extClass = ".SayHentai"
|
extClass = ".SayHentai"
|
||||||
extVersionCode = 1
|
extVersionCode = 2
|
||||||
isNsfw = true
|
isNsfw = true
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -58,10 +58,7 @@ class SayHentai : ParsedHttpSource() {
|
||||||
} else {
|
} else {
|
||||||
(if (filters.isEmpty()) getFilterList() else filters).forEach {
|
(if (filters.isEmpty()) getFilterList() else filters).forEach {
|
||||||
when (it) {
|
when (it) {
|
||||||
is GenreList -> {
|
is GenreList -> addPathSegments(it.values[it.state].path)
|
||||||
val genre = it.values[it.state]
|
|
||||||
addPathSegment(genre.path)
|
|
||||||
}
|
|
||||||
else -> {}
|
else -> {}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue