From a4e94c1e0581b6d8be0e5d06b9667772bdf1a73c Mon Sep 17 00:00:00 2001 From: Eugene <35057681+e-shl@users.noreply.github.com> Date: Mon, 11 May 2020 02:14:38 +0500 Subject: [PATCH] Russian types of manga (#360) --- .../eu/kanade/tachiyomi/data/database/models/Manga.kt | 8 ++++---- 1 file changed, 4 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 8c113cfd07..571657cbde 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 @@ -67,23 +67,23 @@ interface Manga : SManga { val currentTags = genre?.split(",")?.map { it.trim().toLowerCase(Locale.US) } return if (currentTags?.any { tag -> - tag.startsWith("japanese") || tag == "manga" + tag.startsWith("japanese") || tag == "manga" || tag == "манга" } == true) TYPE_MANGA else if (currentTags?.any { tag -> - tag.startsWith("english") || tag == "comic" + tag.startsWith("english") || tag == "comic" || tag == "комикс" } == true || isComicSource(sourceName)) TYPE_COMIC else if (currentTags?.any { tag -> - tag.startsWith("chinese") || tag == "manhua" + tag.startsWith("chinese") || tag == "manhua" || tag == "маньхуа" } == true || sourceName.contains("manhua", true)) TYPE_MANHUA else if (currentTags?.any { tag -> - tag == "long strip" || tag == "manhwa" + tag == "long strip" || tag == "manhwa" || tag == "манхва" } == true || isWebtoonSource(sourceName)) TYPE_MANHWA else if (currentTags?.any