Update ReadBookActivity.kt

This commit is contained in:
Xwite 2022-10-10 14:55:40 +08:00 committed by GitHub
parent 09ae4c9f7f
commit 3b011095dd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1000,10 +1000,9 @@ class ReadBookActivity : BaseReadBookActivity(),
/* 恢复到 全文搜索/进度条跳转前的位置 */
private fun restoreLastBookProcess() {
// 默认提示恢复
if (confirmRestoreProcess == true) {
ReadBook.restoreLastBookProcess()
} else {
} else if (confirmRestoreProcess == null) {
alert(R.string.draw) {
setMessage(R.string.restore_last_book_process)
yesButton {