Added Ehentai Watched list (#1)
This commit is contained in:
parent
cefe45e8cc
commit
acf879d28c
@ -578,11 +578,18 @@ class EHentai(override val id: Long,
|
||||
|
||||
//Filters
|
||||
override fun getFilterList() = FilterList(
|
||||
Watched(),
|
||||
GenreGroup(),
|
||||
AdvancedGroup(),
|
||||
ReverseFilter()
|
||||
)
|
||||
|
||||
class Watched : Filter.CheckBox("Watched List"), UriFilter {
|
||||
override fun addToUri(builder: Uri.Builder) {
|
||||
builder.appendPath("watched")
|
||||
}
|
||||
}
|
||||
|
||||
class GenreOption(name: String, val genreId: Int): Filter.CheckBox(name, false)
|
||||
class GenreGroup : Filter.Group<GenreOption>("Genres", listOf(
|
||||
GenreOption("Dōjinshi", 2),
|
||||
|
Loading…
x
Reference in New Issue
Block a user