From 955544ce2d90c7b6d7b4d8ada5a36c0872ef97c7 Mon Sep 17 00:00:00 2001 From: happywillow0 <45346080+happywillow0@users.noreply.github.com> Date: Tue, 8 Sep 2020 07:49:38 -0400 Subject: [PATCH] Use super in headersbuilder (#4328) Swtichs Headers.Builder() to super.headersBuilder() --- src/all/myreadingmanga/build.gradle | 2 +- .../tachiyomi/extension/all/myreadingmanga/MyReadingManga.kt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/all/myreadingmanga/build.gradle b/src/all/myreadingmanga/build.gradle index c4cae03ea..c13f5f942 100644 --- a/src/all/myreadingmanga/build.gradle +++ b/src/all/myreadingmanga/build.gradle @@ -5,7 +5,7 @@ ext { extName = 'MyReadingManga' pkgNameSuffix = 'all.myreadingmanga' extClass = '.MyReadingMangaFactory' - extVersionCode = 40 + extVersionCode = 41 libVersion = '1.2' containsNsfw = true } diff --git a/src/all/myreadingmanga/src/eu/kanade/tachiyomi/extension/all/myreadingmanga/MyReadingManga.kt b/src/all/myreadingmanga/src/eu/kanade/tachiyomi/extension/all/myreadingmanga/MyReadingManga.kt index f418716ae..92e292ef2 100644 --- a/src/all/myreadingmanga/src/eu/kanade/tachiyomi/extension/all/myreadingmanga/MyReadingManga.kt +++ b/src/all/myreadingmanga/src/eu/kanade/tachiyomi/extension/all/myreadingmanga/MyReadingManga.kt @@ -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