Mangadex - Use Network (#2346)

Mangadex - Use Network
This commit is contained in:
happywillow0 2020-03-03 05:27:34 -05:00 committed by GitHub
parent 506619d153
commit 7eb8bc2179
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -5,7 +5,7 @@ ext {
appName = 'Tachiyomi: MangaDex' appName = 'Tachiyomi: MangaDex'
pkgNameSuffix = 'all.mangadex' pkgNameSuffix = 'all.mangadex'
extClass = '.MangadexFactory' extClass = '.MangadexFactory'
extVersionCode = 84 extVersionCode = 85
libVersion = '1.2' libVersion = '1.2'
} }

View File

@ -299,9 +299,9 @@ abstract class Mangadex(
} }
return if (groupSearch.isNotEmpty()) { return if (groupSearch.isNotEmpty()) {
GET(groupSearch, headersBuilder().build()) GET(groupSearch, headersBuilder().build(), CacheControl.FORCE_NETWORK)
} else { } else {
GET(urlToUse, headersBuilder().build()) GET(urlToUse, headersBuilder().build(), CacheControl.FORCE_NETWORK)
} }
} }