Roumanwu: update mirror URL (#14204)
This commit is contained in:
parent
f8d6c1f88d
commit
578b4b85fa
@ -6,7 +6,7 @@ ext {
|
||||
extName = 'Roumanwu'
|
||||
pkgNameSuffix = 'zh.roumanwu'
|
||||
extClass = '.Roumanwu'
|
||||
extVersionCode = 2
|
||||
extVersionCode = 3
|
||||
isNsfw = true
|
||||
}
|
||||
|
||||
|
@ -106,9 +106,6 @@ class Roumanwu : HttpSource(), ConfigurableSource {
|
||||
summary = MIRROR_PREF_SUMMARY
|
||||
|
||||
setDefaultValue(MIRROR_DEFAULT)
|
||||
setOnPreferenceChangeListener { _, newValue ->
|
||||
preferences.edit().putString(MIRROR_PREF, newValue as String).commit()
|
||||
}
|
||||
}
|
||||
screen.addPreference(mirrorPref)
|
||||
}
|
||||
@ -119,7 +116,7 @@ class Roumanwu : HttpSource(), ConfigurableSource {
|
||||
private const val MIRROR_PREF_SUMMARY = "使用镜像网址。重启软件生效。"
|
||||
|
||||
// 地址: https://rou.pub/dizhi
|
||||
private val MIRRORS = arrayOf("https://rouman5.com", "https://rouman01.xyz")
|
||||
private val MIRRORS = arrayOf("https://rouman5.com", "https://rm01.xyz")
|
||||
private val MIRRORS_DESC = arrayOf("主站", "镜像")
|
||||
private const val MIRROR_DEFAULT = 1.toString() // use mirror
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user