MangaDex: Turned off including Upcoming Future Updates in the Latest feed (#9048)
* Turned off including Future Updates * fixed tags not showing up in MangaDex
This commit is contained in:
parent
fb87b363e6
commit
62af1c06ab
@ -6,7 +6,7 @@ ext {
|
|||||||
extName = 'MangaDex'
|
extName = 'MangaDex'
|
||||||
pkgNameSuffix = 'all.mangadex'
|
pkgNameSuffix = 'all.mangadex'
|
||||||
extClass = '.MangaDexFactory'
|
extClass = '.MangaDexFactory'
|
||||||
extVersionCode = 135
|
extVersionCode = 136
|
||||||
containsNsfw = true
|
containsNsfw = true
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -196,6 +196,7 @@ abstract class MangaDex(override val lang: String, val dexLang: String) :
|
|||||||
addQueryParameter("limit", MDConstants.latestChapterLimit.toString())
|
addQueryParameter("limit", MDConstants.latestChapterLimit.toString())
|
||||||
addQueryParameter("translatedLanguage[]", dexLang)
|
addQueryParameter("translatedLanguage[]", dexLang)
|
||||||
addQueryParameter("order[publishAt]", "desc")
|
addQueryParameter("order[publishAt]", "desc")
|
||||||
|
addQueryParameter("includeFutureUpdates", "0")
|
||||||
if (preferences.getBoolean(MDConstants.getOriginalLanguageJapanesePref(dexLang), false)) {
|
if (preferences.getBoolean(MDConstants.getOriginalLanguageJapanesePref(dexLang), false)) {
|
||||||
addQueryParameter("originalLanguage[]", "ja")
|
addQueryParameter("originalLanguage[]", "ja")
|
||||||
}
|
}
|
||||||
|
@ -221,7 +221,7 @@ class MangaDexHelper() {
|
|||||||
// map ids to tag names
|
// map ids to tag names
|
||||||
val genreList = (
|
val genreList = (
|
||||||
attr.tags
|
attr.tags
|
||||||
.map { mangaDataDto.id }
|
.map { it.id }
|
||||||
.map { dexId ->
|
.map { dexId ->
|
||||||
tags.firstOrNull { it.id == dexId }
|
tags.firstOrNull { it.id == dexId }
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user