Fix play button showing when there are no unread chapters
This commit is contained in:
parent
b368a53670
commit
758cf63024
@ -85,7 +85,7 @@ fun LibraryComfortableGridItem(
|
||||
isLocal = item.isLocal,
|
||||
language = item.sourceLanguage,
|
||||
// SY -->
|
||||
showPlayButton = item.startReadingButton,
|
||||
showPlayButton = item.startReadingButton && item.manga.unreadCount > 0,
|
||||
onOpenReader = {
|
||||
onOpenReader(manga)
|
||||
},
|
||||
|
@ -93,7 +93,7 @@ fun LibraryCompactGridItem(
|
||||
isLocal = item.isLocal,
|
||||
language = item.sourceLanguage,
|
||||
// SY -->
|
||||
showPlayButton = item.startReadingButton,
|
||||
showPlayButton = item.startReadingButton && item.manga.unreadCount > 0,
|
||||
playButtonPosition = PlayButtonPosition.Top,
|
||||
onOpenReader = {
|
||||
onOpenReader(manga)
|
||||
|
@ -78,7 +78,7 @@ fun LibraryCoverOnlyGridItem(
|
||||
isLocal = item.isLocal,
|
||||
language = item.sourceLanguage,
|
||||
// SY -->
|
||||
showPlayButton = item.startReadingButton,
|
||||
showPlayButton = item.startReadingButton && item.manga.unreadCount > 0,
|
||||
onOpenReader = {
|
||||
onOpenReader(manga)
|
||||
},
|
||||
|
Loading…
x
Reference in New Issue
Block a user