E-Hentai WatchedList checkbox fix (#2399)

* E-Hentai WatchedList checkbox fix

* Update build.gradle
This commit is contained in:
jobobby04 2020-03-09 18:49:28 -04:00 committed by GitHub
parent 92e46f4aa9
commit c64cf2948e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 2 deletions

View File

@ -5,7 +5,7 @@ ext {
appName = 'Tachiyomi: E-Hentai' appName = 'Tachiyomi: E-Hentai'
pkgNameSuffix = 'all.ehentai' pkgNameSuffix = 'all.ehentai'
extClass = '.EHFactory' extClass = '.EHFactory'
extVersionCode = 8 extVersionCode = 9
libVersion = '1.2' libVersion = '1.2'
} }

View File

@ -287,6 +287,7 @@ open class EHentai(override val lang: String, private val ehLang: String) : Http
class Watched : Filter.CheckBox("Watched List"), UriFilter { class Watched : Filter.CheckBox("Watched List"), UriFilter {
override fun addToUri(builder: Uri.Builder) { override fun addToUri(builder: Uri.Builder) {
if(state)
builder.appendPath("watched") builder.appendPath("watched")
} }
} }