Use super in headersbuilder (#4328)

Swtichs Headers.Builder() to super.headersBuilder()
This commit is contained in:
happywillow0 2020-09-08 07:49:38 -04:00 committed by GitHub
parent 7c8b654ff0
commit 955544ce2d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -5,7 +5,7 @@ ext {
extName = 'MyReadingManga'
pkgNameSuffix = 'all.myreadingmanga'
extClass = '.MyReadingMangaFactory'
extVersionCode = 40
extVersionCode = 41
libVersion = '1.2'
containsNsfw = true
}

View File

@ -38,7 +38,7 @@ open class MyReadingManga(override val lang: String, private val siteLang: Strin
.build()!!
override val supportsLatest = true
override fun headersBuilder(): Headers.Builder = Headers.Builder()
override fun headersBuilder(): Headers.Builder = super.headersBuilder()
.add("Referer", baseUrl)
// Popular - Random