ManaMoa: update default URL (closes #1277)
This commit is contained in:
parent
b04801d953
commit
6b8a4e9ec6
|
@ -5,7 +5,7 @@ ext {
|
|||
appName = 'Tachiyomi: ManaMoa (MangaShow.Me)'
|
||||
pkgNameSuffix = 'ko.mangashowme'
|
||||
extClass = '.MSMFactory'
|
||||
extVersionCode = 12
|
||||
extVersionCode = 13
|
||||
libVersion = '1.2'
|
||||
}
|
||||
|
||||
|
|
|
@ -36,9 +36,13 @@ import java.util.concurrent.TimeUnit
|
|||
* `manga_list` returns latest 'added' manga. not a chapter updates.
|
||||
**/
|
||||
class ManaMoa : ConfigurableSource, ParsedHttpSource() {
|
||||
|
||||
override val name = "ManaMoa"
|
||||
private val defaultBaseUrl = "https://manamoa3.net"
|
||||
|
||||
// This keeps updating: https://twitter.com/manamoa20
|
||||
private val defaultBaseUrl = "https://manamoa13.net"
|
||||
override val baseUrl by lazy { getPrefBaseUrl() }
|
||||
|
||||
override val lang: String = "ko"
|
||||
|
||||
// Latest updates currently returns duplicate manga as it separates manga into chapters
|
||||
|
@ -287,7 +291,7 @@ class ManaMoa : ConfigurableSource, ParsedHttpSource() {
|
|||
screen.addPreference(baseUrlPref)
|
||||
}
|
||||
|
||||
private fun getPrefBaseUrl(): String = preferences.getString(BASE_URL_PREF, defaultBaseUrl)
|
||||
private fun getPrefBaseUrl(): String = preferences.getString(BASE_URL_PREF, defaultBaseUrl)!!
|
||||
|
||||
override fun getFilterList() = getFilters()
|
||||
|
||||
|
|
Loading…
Reference in New Issue