This commit is contained in:
Jays2Kings 2021-05-12 14:00:39 -04:00
parent bc6a181530
commit 1a8d724d0a

View File

@ -661,7 +661,7 @@ class MangaDetailsPresenter(
LocalSource(downloadManager.context).updateMangaInfo(manga) LocalSource(downloadManager.context).updateMangaInfo(manga)
db.updateMangaInfo(manga).executeAsBlocking() db.updateMangaInfo(manga).executeAsBlocking()
} else { } else {
var genre = if (!tags.isNullOrEmpty() && tags.joinToString(", ") != manga.genre) { var genre = if (!tags.isNullOrEmpty() && tags.joinToString(", ") != manga.originalGenre) {
tags.map { it.capitalize() }.toTypedArray() tags.map { it.capitalize() }.toTypedArray()
} else { } else {
null null