Update ReadBookActivity.kt

This commit is contained in:
Xwite
2022-10-10 14:55:40 +08:00
committed by GitHub
parent 856550ae79
commit 594ed50fee
@@ -1000,10 +1000,9 @@ class ReadBookActivity : BaseReadBookActivity(),
/* 恢复到 全文搜索/进度条跳转前的位置 */ /* 恢复到 全文搜索/进度条跳转前的位置 */
private fun restoreLastBookProcess() { private fun restoreLastBookProcess() {
// 默认提示恢复
if (confirmRestoreProcess == true) { if (confirmRestoreProcess == true) {
ReadBook.restoreLastBookProcess() ReadBook.restoreLastBookProcess()
} else { } else if (confirmRestoreProcess == null) {
alert(R.string.draw) { alert(R.string.draw) {
setMessage(R.string.restore_last_book_process) setMessage(R.string.restore_last_book_process)
yesButton { yesButton {