From eec2dcd981d8845a65ce72a2bbc59fea5f51978a Mon Sep 17 00:00:00 2001 From: inorichi Date: Fri, 5 Feb 2016 17:30:58 +0100 Subject: [PATCH] Fix a crash --- .../java/eu/kanade/tachiyomi/ui/reader/ReaderPresenter.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/src/main/java/eu/kanade/tachiyomi/ui/reader/ReaderPresenter.java b/app/src/main/java/eu/kanade/tachiyomi/ui/reader/ReaderPresenter.java index 23cbfe6e2..561b75c0d 100644 --- a/app/src/main/java/eu/kanade/tachiyomi/ui/reader/ReaderPresenter.java +++ b/app/src/main/java/eu/kanade/tachiyomi/ui/reader/ReaderPresenter.java @@ -160,7 +160,8 @@ public class ReaderPresenter extends BasePresenter { .doOnNext(pair -> { previousChapter = pair.first; nextChapter = pair.second; - }); + }) + .observeOn(AndroidSchedulers.mainThread()); } // Listen for retry page events