Replace genre tags on refresh (fixes #2787)
This commit is contained in:
parent
b93e2ca4cf
commit
61fb4d584c
1 changed files with 2 additions and 0 deletions
|
@ -218,6 +218,8 @@ class MangaInfoController : NucleusController<MangaInfoPresenter>(),
|
|||
|
||||
// Update genres list
|
||||
if (!manga.genre.isNullOrBlank()) {
|
||||
manga_genres_tags.removeAllViews()
|
||||
|
||||
manga.genre?.split(", ")?.forEach { genre ->
|
||||
val chip = Chip(view.context).apply {
|
||||
text = genre
|
||||
|
|
Reference in a new issue