Fix selection in library (#8233)

This commit is contained in:
AntsyLich
2022-10-18 19:32:34 +06:00
committed by GitHub
parent 9c4051a5ba
commit ea092fa175
6 changed files with 29 additions and 31 deletions

View File

@@ -11,9 +11,9 @@ data class LibraryManga(
val chapterFetchedAt: Long,
val lastRead: Long,
) {
val totalChapters
get() = readCount + unreadCount
val id: Long = manga.id
val hasStarted
get() = readCount > 0
val totalChapters = readCount + unreadCount
val hasStarted = readCount > 0
}