From 81efada033c7882411efd43dd087828bba1f2095 Mon Sep 17 00:00:00 2001 From: Jay Date: Sun, 10 May 2020 17:49:29 -0400 Subject: [PATCH] Fix indent in manga.kt --- .../eu/kanade/tachiyomi/data/database/models/Manga.kt | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/app/src/main/java/eu/kanade/tachiyomi/data/database/models/Manga.kt b/app/src/main/java/eu/kanade/tachiyomi/data/database/models/Manga.kt index 4753d76895..83761d2f1a 100644 --- a/app/src/main/java/eu/kanade/tachiyomi/data/database/models/Manga.kt +++ b/app/src/main/java/eu/kanade/tachiyomi/data/database/models/Manga.kt @@ -68,16 +68,17 @@ interface Manga : SManga { genre?.split(",")?.map { it.trim().toLowerCase(Locale.US) } ?: return TYPE_MANGA return if (currentTags.any { tag -> tag.startsWith("japanese") || isMangaTag(tag) }) { TYPE_MANGA - } else if (currentTags.any { tag -> tag.startsWith("english") || isComicTag(tag) } || - isComicSource(sourceName)) { + } else if (currentTags.any { tag -> tag.startsWith("english") || isComicTag(tag) } || isComicSource( + sourceName + )) { TYPE_COMIC } else if (currentTags.any { tag -> tag.startsWith("chinese") || isManhuaTag(tag) } || sourceName.contains("manhua", true)) { TYPE_MANHUA } else if (currentTags.any { tag -> isManhwaTag(tag) } || isWebtoonSource(sourceName)) { - TYPE_MANHWA - } else if (currentTags.any { tag -> tag.startsWith("webtoon") }) { + TYPE_MANHWA + } else if (currentTags.any { tag -> tag.startsWith("webtoon") }) { TYPE_WEBTOON } else { TYPE_MANGA