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'
pkgNameSuffix = 'all.ehentai'
extClass = '.EHFactory'
extVersionCode = 8
extVersionCode = 9
libVersion = '1.2'
}

View File

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