This commit is contained in:
Bram van de Kerkhof
2016-05-12 14:28:44 +02:00
committed by inorichi
parent a6df745daa
commit 0ad9e4af0b
2 changed files with 30 additions and 10 deletions

View File

@ -28,6 +28,9 @@ class DownloadHolder(private val view: View) : RecyclerView.ViewHolder(view) {
// Update the chapter name.
view.download_title.text = download.chapter.name
// Update the manga title
view.manga_title.text = download.manga.title
// Update the progress bar and the number of downloaded pages
if (download.pages == null) {
view.download_progress.progress = 0