Fix unread badges not hiding in list view
This commit is contained in:
parent
3357e878a5
commit
2fb0969c75
@ -44,8 +44,8 @@ class LibraryListHolder(
|
|||||||
|
|
||||||
// Update the unread count and its visibility.
|
// Update the unread count and its visibility.
|
||||||
with(unread_text) {
|
with(unread_text) {
|
||||||
visibleIf { item.manga.unread > 0 }
|
visibleIf { item.unreadCount > 0 }
|
||||||
text = item.manga.unread.toString()
|
text = item.unreadCount.toString()
|
||||||
}
|
}
|
||||||
// Update the download count and its visibility.
|
// Update the download count and its visibility.
|
||||||
with(download_text) {
|
with(download_text) {
|
||||||
|
Loading…
Reference in New Issue
Block a user