Rename Tachidesk to Suwayomi (#14828)
* Rename Tachidesk to Suwayomi * keep pkgName the same * keep Log tag the same * server is named Tachidesk, rename to avoid confusion
This commit is contained in:
parent
5c4123a582
commit
92bd338df9
|
@ -3,10 +3,10 @@ apply plugin: 'kotlin-android'
|
||||||
apply plugin: 'kotlinx-serialization'
|
apply plugin: 'kotlinx-serialization'
|
||||||
|
|
||||||
ext {
|
ext {
|
||||||
extName = 'Tachidesk'
|
extName = 'Suwayomi'
|
||||||
pkgNameSuffix = 'all.tachidesk'
|
pkgNameSuffix = 'all.tachidesk'
|
||||||
extClass = '.Tachidesk'
|
extClass = '.Tachidesk'
|
||||||
extVersionCode = 7
|
extVersionCode = 8
|
||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
|
|
|
@ -35,12 +35,13 @@ import uy.kohesive.injekt.api.get
|
||||||
import uy.kohesive.injekt.injectLazy
|
import uy.kohesive.injekt.injectLazy
|
||||||
|
|
||||||
class Tachidesk : ConfigurableSource, UnmeteredSource, HttpSource() {
|
class Tachidesk : ConfigurableSource, UnmeteredSource, HttpSource() {
|
||||||
override val name = "Tachidesk"
|
override val name = "Suwayomi"
|
||||||
|
override val id = 3100117499901280806L
|
||||||
override val baseUrl by lazy { getPrefBaseUrl() }
|
override val baseUrl by lazy { getPrefBaseUrl() }
|
||||||
private val baseLogin by lazy { getPrefBaseLogin() }
|
private val baseLogin by lazy { getPrefBaseLogin() }
|
||||||
private val basePassword by lazy { getPrefBasePassword() }
|
private val basePassword by lazy { getPrefBasePassword() }
|
||||||
|
|
||||||
override val lang = "en"
|
override val lang = "all"
|
||||||
override val supportsLatest = false
|
override val supportsLatest = false
|
||||||
|
|
||||||
private val json: Json by injectLazy()
|
private val json: Json by injectLazy()
|
||||||
|
|
Loading…
Reference in New Issue