Fix indent in manga.kt

This commit is contained in:
Jay 2020-05-10 17:49:29 -04:00
parent dcf250fcf3
commit 81efada033

View File

@ -68,16 +68,17 @@ interface Manga : SManga {
genre?.split(",")?.map { it.trim().toLowerCase(Locale.US) } ?: return TYPE_MANGA genre?.split(",")?.map { it.trim().toLowerCase(Locale.US) } ?: return TYPE_MANGA
return if (currentTags.any { tag -> tag.startsWith("japanese") || isMangaTag(tag) }) { return if (currentTags.any { tag -> tag.startsWith("japanese") || isMangaTag(tag) }) {
TYPE_MANGA TYPE_MANGA
} else if (currentTags.any { tag -> tag.startsWith("english") || isComicTag(tag) } || } else if (currentTags.any { tag -> tag.startsWith("english") || isComicTag(tag) } || isComicSource(
isComicSource(sourceName)) { sourceName
)) {
TYPE_COMIC TYPE_COMIC
} else if (currentTags.any { tag -> } else if (currentTags.any { tag ->
tag.startsWith("chinese") || isManhuaTag(tag) tag.startsWith("chinese") || isManhuaTag(tag)
} || sourceName.contains("manhua", true)) { } || sourceName.contains("manhua", true)) {
TYPE_MANHUA TYPE_MANHUA
} else if (currentTags.any { tag -> isManhwaTag(tag) } || isWebtoonSource(sourceName)) { } else if (currentTags.any { tag -> isManhwaTag(tag) } || isWebtoonSource(sourceName)) {
TYPE_MANHWA TYPE_MANHWA
} else if (currentTags.any { tag -> tag.startsWith("webtoon") }) { } else if (currentTags.any { tag -> tag.startsWith("webtoon") }) {
TYPE_WEBTOON TYPE_WEBTOON
} else { } else {
TYPE_MANGA TYPE_MANGA