From 7eb8bc21790ac9a452c275214fdac85fce760433 Mon Sep 17 00:00:00 2001 From: happywillow0 <45346080+happywillow0@users.noreply.github.com> Date: Tue, 3 Mar 2020 05:27:34 -0500 Subject: [PATCH] Mangadex - Use Network (#2346) Mangadex - Use Network --- src/all/mangadex/build.gradle | 2 +- .../eu/kanade/tachiyomi/extension/all/mangadex/Mangadex.kt | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/all/mangadex/build.gradle b/src/all/mangadex/build.gradle index b071341d5..db9e70c5d 100644 --- a/src/all/mangadex/build.gradle +++ b/src/all/mangadex/build.gradle @@ -5,7 +5,7 @@ ext { appName = 'Tachiyomi: MangaDex' pkgNameSuffix = 'all.mangadex' extClass = '.MangadexFactory' - extVersionCode = 84 + extVersionCode = 85 libVersion = '1.2' } diff --git a/src/all/mangadex/src/eu/kanade/tachiyomi/extension/all/mangadex/Mangadex.kt b/src/all/mangadex/src/eu/kanade/tachiyomi/extension/all/mangadex/Mangadex.kt index 54ce2f605..85433b0a6 100644 --- a/src/all/mangadex/src/eu/kanade/tachiyomi/extension/all/mangadex/Mangadex.kt +++ b/src/all/mangadex/src/eu/kanade/tachiyomi/extension/all/mangadex/Mangadex.kt @@ -299,9 +299,9 @@ abstract class Mangadex( } return if (groupSearch.isNotEmpty()) { - GET(groupSearch, headersBuilder().build()) + GET(groupSearch, headersBuilder().build(), CacheControl.FORCE_NETWORK) } else { - GET(urlToUse, headersBuilder().build()) + GET(urlToUse, headersBuilder().build(), CacheControl.FORCE_NETWORK) } }