Add property to get the number of a page
This commit is contained in:
@@ -302,7 +302,7 @@ class Downloader(private val context: Context, private val provider: DownloadPro
|
||||
if (page.imageUrl == null)
|
||||
return Observable.just(page)
|
||||
|
||||
val filename = String.format("%03d", page.index + 1)
|
||||
val filename = String.format("%03d", page.number)
|
||||
val tmpFile = tmpDir.findFile("$filename.tmp")
|
||||
|
||||
// Delete temp file if it exists.
|
||||
|
||||
Reference in New Issue
Block a user