From 4196a0f58585241ec19e908c44154d8c3b8dc989 Mon Sep 17 00:00:00 2001 From: len Date: Thu, 7 Apr 2016 14:43:02 +0200 Subject: [PATCH] Minor changes trying to fix a crash --- .../main/java/eu/kanade/tachiyomi/ui/reader/ReaderActivity.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/eu/kanade/tachiyomi/ui/reader/ReaderActivity.kt b/app/src/main/java/eu/kanade/tachiyomi/ui/reader/ReaderActivity.kt index ff7a12940..99cf44533 100644 --- a/app/src/main/java/eu/kanade/tachiyomi/ui/reader/ReaderActivity.kt +++ b/app/src/main/java/eu/kanade/tachiyomi/ui/reader/ReaderActivity.kt @@ -154,11 +154,11 @@ class ReaderActivity : BaseRxActivity() { .positiveText(android.R.string.yes) .negativeText(android.R.string.no) .onPositive { dialog, which -> presenter.updateMangaSyncLastChapterRead() } - .onAny { dialog1, which1 -> finish() } + .onAny { dialog1, which1 -> super.onBackPressed() } .show() } else { presenter.updateMangaSyncLastChapterRead() - finish() + super.onBackPressed() } } else { super.onBackPressed()