Fix unread badges not hiding in list view
(cherry picked from commit 2fb0969c756d5632cfec6cff608f74aa5f39bb3e)
This commit is contained in:
parent
5627ad0801
commit
7affb9ab63
@ -46,8 +46,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…
x
Reference in New Issue
Block a user