Hide manga status if it is unknown

This commit is contained in:
Jay 2020-05-03 13:13:28 -04:00
parent 3bc3f417ac
commit 6682c99fd1

View file

@ -238,6 +238,7 @@ class MangaHeaderHolder(
height = adapter.delegate.topCoverHeight()
}
manga_status.visibleIf(manga.status != 0)
manga_status.text = (itemView.context.getString(
when (manga.status) {
SManga.ONGOING -> R.string.ongoing