Replace genre tags on refresh (fixes #2787)

This commit is contained in:
arkon 2020-03-30 22:17:07 -04:00
parent b93e2ca4cf
commit 61fb4d584c

View File

@ -218,6 +218,8 @@ class MangaInfoController : NucleusController<MangaInfoPresenter>(),
// Update genres list // Update genres list
if (!manga.genre.isNullOrBlank()) { if (!manga.genre.isNullOrBlank()) {
manga_genres_tags.removeAllViews()
manga.genre?.split(", ")?.forEach { genre -> manga.genre?.split(", ")?.forEach { genre ->
val chip = Chip(view.context).apply { val chip = Chip(view.context).apply {
text = genre text = genre