Change filename for downloaded chapters, using the last path from the url is not reliable. This will break compatibility with previously downloaded chapters, they have to be deleted and downloaded again.

Disable download progress in the chapters view, it will avoid some crashes.
This commit is contained in:
inorichi
2016-01-23 13:58:53 +01:00
parent 07ed2e2ebb
commit 11dc0d7e9e
5 changed files with 52 additions and 16 deletions
@@ -90,6 +90,7 @@ public class DownloadPresenter extends BasePresenter<DownloadFragment> {
.flatMap(tick -> Observable.from(download.pages)
.map(Page::getProgress)
.reduce((x, y) -> x + y))
.onBackpressureLatest()
.observeOn(AndroidSchedulers.mainThread())
.subscribe(progress -> {
if (download.totalProgress != progress) {