Manhua type support to AutoWebtoonMode (#1248)
* AutoWebtoonMode: manhua
This commit is contained in:
parent
c0a7bd9332
commit
dd69b6f9c0
1 changed files with 1 additions and 1 deletions
|
|
@ -54,7 +54,7 @@ fun Manga.mangaType(sourceName: String? = Injekt.get<SourceManager>().get(source
|
|||
* read types
|
||||
*/
|
||||
fun Manga.defaultReaderType(type: MangaType = mangaType()): Int? {
|
||||
return if (type == MangaType.TYPE_MANHWA || type == MangaType.TYPE_WEBTOON) {
|
||||
return if (type in setOf(MangaType.TYPE_MANHUA, MangaType.TYPE_MANHWA, MangaType.TYPE_WEBTOON)) {
|
||||
ReadingMode.WEBTOON.flagValue
|
||||
} else {
|
||||
null
|
||||
|
|
|
|||
Loading…
Reference in a new issue