mirror of
https://github.com/mihonapp/mihon.git
synced 2025-06-27 19:47:51 +02:00
Fix unread badges not hiding in list view
(cherry picked from commit 2fb0969c75
)
This commit is contained in:
@ -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) {
|
||||||
|
Reference in New Issue
Block a user