Minor changes trying to fix a crash

This commit is contained in:
len 2016-04-07 14:43:02 +02:00
parent a6a9b13545
commit 4196a0f585

View File

@ -154,11 +154,11 @@ class ReaderActivity : BaseRxActivity<ReaderPresenter>() {
.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()