mirror of
https://github.com/tachiyomiorg/tachiyomi.git
synced 2024-12-24 03:31:49 +01:00
Fix recents download button not showing in some only unread cases
This commit is contained in:
parent
b6d23ce9e0
commit
e554fd3694
@ -27,7 +27,7 @@ class RecentMangaHolder(
|
|||||||
fun bind(item: RecentMangaItem, showDLs: RecentMangaAdapter.ShowRecentsDLs, showRemoveHistory: Boolean, showTitleFirst: Boolean) {
|
fun bind(item: RecentMangaItem, showDLs: RecentMangaAdapter.ShowRecentsDLs, showRemoveHistory: Boolean, showTitleFirst: Boolean) {
|
||||||
binding.downloadButton.downloadButton.isVisible = item.mch.manga.source != LocalSource.ID && when (showDLs) {
|
binding.downloadButton.downloadButton.isVisible = item.mch.manga.source != LocalSource.ID && when (showDLs) {
|
||||||
RecentMangaAdapter.ShowRecentsDLs.None -> false
|
RecentMangaAdapter.ShowRecentsDLs.None -> false
|
||||||
RecentMangaAdapter.ShowRecentsDLs.OnlyUnread -> !item.mch.chapter.read
|
RecentMangaAdapter.ShowRecentsDLs.OnlyUnread -> !item.chapter.read
|
||||||
RecentMangaAdapter.ShowRecentsDLs.All -> true
|
RecentMangaAdapter.ShowRecentsDLs.All -> true
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user