mirror of
https://github.com/aniyomiorg/aniyomi.git
synced 2024-11-27 16:26:29 +03:00
Minor changes trying to fix a crash
This commit is contained in:
parent
a6a9b13545
commit
4196a0f585
1 changed files with 2 additions and 2 deletions
|
@ -154,11 +154,11 @@ class ReaderActivity : BaseRxActivity<ReaderPresenter>() {
|
||||||
.positiveText(android.R.string.yes)
|
.positiveText(android.R.string.yes)
|
||||||
.negativeText(android.R.string.no)
|
.negativeText(android.R.string.no)
|
||||||
.onPositive { dialog, which -> presenter.updateMangaSyncLastChapterRead() }
|
.onPositive { dialog, which -> presenter.updateMangaSyncLastChapterRead() }
|
||||||
.onAny { dialog1, which1 -> finish() }
|
.onAny { dialog1, which1 -> super.onBackPressed() }
|
||||||
.show()
|
.show()
|
||||||
} else {
|
} else {
|
||||||
presenter.updateMangaSyncLastChapterRead()
|
presenter.updateMangaSyncLastChapterRead()
|
||||||
finish()
|
super.onBackPressed()
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
super.onBackPressed()
|
super.onBackPressed()
|
||||||
|
|
Loading…
Reference in a new issue