mirror of
https://github.com/null2264/yokai.git
synced 2025-06-21 10:44:42 +00:00
Recents: fix "only downloaded" badge option not working
This commit is contained in:
parent
0a0ac647a2
commit
f3d75f43e7
1 changed files with 1 additions and 1 deletions
|
@ -176,7 +176,7 @@ class RecentMangaHolder(
|
|||
fun notifyStatus(status: Download.State, progress: Int, isRead: Boolean, animated: Boolean = false) {
|
||||
binding.downloadButton.downloadButton.setDownloadStatus(status, progress, animated)
|
||||
val isChapterRead =
|
||||
if (adapter.showDownloads == RecentMangaAdapter.ShowRecentsDLs.UnreadOrDownloaded) isRead else false
|
||||
if (adapter.showDownloads == RecentMangaAdapter.ShowRecentsDLs.UnreadOrDownloaded) isRead else true
|
||||
binding.downloadButton.downloadButton.isVisible =
|
||||
when (adapter.showDownloads) {
|
||||
RecentMangaAdapter.ShowRecentsDLs.UnreadOrDownloaded,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue