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() height = adapter.delegate.topCoverHeight()
} }
manga_status.visibleIf(manga.status != 0)
manga_status.text = (itemView.context.getString( manga_status.text = (itemView.context.getString(
when (manga.status) { when (manga.status) {
SManga.ONGOING -> R.string.ongoing SManga.ONGOING -> R.string.ongoing