MangAdventure: bump versionId (#9399)
This commit is contained in:
parent
0a0b8bd7a3
commit
d951fe88ed
|
@ -37,11 +37,15 @@ abstract class MangAdventure(
|
||||||
"Tachiyomi/${BuildConfig.VERSION_NAME}"
|
"Tachiyomi/${BuildConfig.VERSION_NAME}"
|
||||||
|
|
||||||
/** The URI of the site's API. */
|
/** The URI of the site's API. */
|
||||||
private val apiUri by lazy { Uri.parse("$baseUrl/api/v2")!! }
|
private val apiUri by lazy {
|
||||||
|
Uri.parse("$baseUrl/api/v$versionId")!!
|
||||||
|
}
|
||||||
|
|
||||||
/** The JSON parser of the class. */
|
/** The JSON parser of the class. */
|
||||||
private val json by injectLazy<Json>()
|
private val json by injectLazy<Json>()
|
||||||
|
|
||||||
|
override val versionId = 2
|
||||||
|
|
||||||
override val supportsLatest = true
|
override val supportsLatest = true
|
||||||
|
|
||||||
override fun headersBuilder() =
|
override fun headersBuilder() =
|
||||||
|
|
|
@ -9,7 +9,7 @@ class MangAdventureGenerator : ThemeSourceGenerator {
|
||||||
|
|
||||||
override val themeClass = "MangAdventure"
|
override val themeClass = "MangAdventure"
|
||||||
|
|
||||||
override val baseVersionCode = 5
|
override val baseVersionCode = 6
|
||||||
|
|
||||||
override val sources = listOf(
|
override val sources = listOf(
|
||||||
SingleLang("Arc-Relight", "https://arc-relight.com", "en", className = "ArcRelight"),
|
SingleLang("Arc-Relight", "https://arc-relight.com", "en", className = "ArcRelight"),
|
||||||
|
|
Loading…
Reference in New Issue