From 872f5319f681d3333f1e813a3ecdf93d67d0c9e3 Mon Sep 17 00:00:00 2001
From: Jay <jays2kings@gmail.com>
Date: Mon, 27 Jan 2020 21:29:46 -0800
Subject: [PATCH] Use old tags if they match

---
 .../eu/kanade/tachiyomi/ui/manga/info/MangaInfoPresenter.kt    | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/app/src/main/java/eu/kanade/tachiyomi/ui/manga/info/MangaInfoPresenter.kt b/app/src/main/java/eu/kanade/tachiyomi/ui/manga/info/MangaInfoPresenter.kt
index c2523986d6..f12267d518 100644
--- a/app/src/main/java/eu/kanade/tachiyomi/ui/manga/info/MangaInfoPresenter.kt
+++ b/app/src/main/java/eu/kanade/tachiyomi/ui/manga/info/MangaInfoPresenter.kt
@@ -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()) {