Delay filter list requests (#12000)
This commit is contained in:
parent
50f1eb1770
commit
bf5ec6386e
|
@ -148,10 +148,6 @@ abstract class SinMH(
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
init {
|
|
||||||
tryFetchCategories()
|
|
||||||
}
|
|
||||||
|
|
||||||
override fun getFilterList() =
|
override fun getFilterList() =
|
||||||
if (::categories.isInitialized) FilterList(
|
if (::categories.isInitialized) FilterList(
|
||||||
Filter.Header("如果使用文本搜索,将会忽略分类筛选"),
|
Filter.Header("如果使用文本搜索,将会忽略分类筛选"),
|
||||||
|
|
|
@ -6,7 +6,7 @@ import generator.ThemeSourceGenerator
|
||||||
class SinMHGenerator : ThemeSourceGenerator {
|
class SinMHGenerator : ThemeSourceGenerator {
|
||||||
override val themeClass = "SinMH"
|
override val themeClass = "SinMH"
|
||||||
override val themePkg = "sinmh"
|
override val themePkg = "sinmh"
|
||||||
override val baseVersionCode = 2
|
override val baseVersionCode = 3
|
||||||
override val sources = listOf(
|
override val sources = listOf(
|
||||||
SingleLang(
|
SingleLang(
|
||||||
name = "Gufeng Manhua", baseUrl = "https://www.gufengmh9.com", lang = "zh",
|
name = "Gufeng Manhua", baseUrl = "https://www.gufengmh9.com", lang = "zh",
|
||||||
|
|
|
@ -6,7 +6,7 @@ ext {
|
||||||
extName = 'Manga Cross'
|
extName = 'Manga Cross'
|
||||||
pkgNameSuffix = 'ja.mangacross'
|
pkgNameSuffix = 'ja.mangacross'
|
||||||
extClass = '.MangaCross'
|
extClass = '.MangaCross'
|
||||||
extVersionCode = 2
|
extVersionCode = 3
|
||||||
}
|
}
|
||||||
|
|
||||||
apply from: "$rootDir/common.gradle"
|
apply from: "$rootDir/common.gradle"
|
||||||
|
|
|
@ -98,10 +98,6 @@ class MangaCross : HttpSource() {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
init {
|
|
||||||
fetchTags()
|
|
||||||
}
|
|
||||||
|
|
||||||
override fun getFilterList() =
|
override fun getFilterList() =
|
||||||
if (::tags.isInitialized) FilterList(
|
if (::tags.isInitialized) FilterList(
|
||||||
Filter.Header("NOTE: Ignored if using text search!"),
|
Filter.Header("NOTE: Ignored if using text search!"),
|
||||||
|
|
Loading…
Reference in New Issue