Use old tags if they match

This commit is contained in:
Jay 2020-01-27 21:29:46 -08:00
parent c745ac7350
commit 872f5319f6

View file

@ -253,7 +253,8 @@ class MangaInfoPresenter(
}
var tagsString = tags?.joinToString(", ")
if (tagsString.isNullOrBlank() && manga.currentGenres() != manga.originalGenres()) {
if ((tagsString.isNullOrBlank() && manga.currentGenres() != manga.originalGenres())
|| tagsString == manga.originalGenres()) {
manga.genre = manga.originalGenres()
changed = true
} else if (!tagsString.isNullOrBlank() && tagsString != manga.currentGenres()) {