mirror of
https://github.com/tachiyomiorg/tachiyomi.git
synced 2024-11-13 07:15:10 +01:00
Fix indent in manga.kt
This commit is contained in:
parent
dcf250fcf3
commit
81efada033
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user