mirror of
				https://github.com/mihonapp/mihon.git
				synced 2025-10-31 22:37:56 +01:00 
			
		
		
		
	Added Ehentai Watched list (#1)
This commit is contained in:
		| @@ -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), | ||||
|   | ||||
		Reference in New Issue
	
	Block a user