|
@@ -84,12 +84,12 @@ class BooksAdapter(
|
|
|
}
|
|
}
|
|
|
.bind<ProgressBar>(R.id.book_progress) {
|
|
.bind<ProgressBar>(R.id.book_progress) {
|
|
|
val book = books[it]
|
|
val book = books[it]
|
|
|
|
|
+ progress = 0
|
|
|
if (book is PlannedBook) {
|
|
if (book is PlannedBook) {
|
|
|
showNow()
|
|
showNow()
|
|
|
setProgressSmoothly(book.priority)
|
|
setProgressSmoothly(book.priority)
|
|
|
} else {
|
|
} else {
|
|
|
hideNow()
|
|
hideNow()
|
|
|
- progress = 0
|
|
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
.bind<ImageView>(R.id.book_image) {
|
|
.bind<ImageView>(R.id.book_image) {
|