Update ReadBookActivity.kt

pull/2405/head
Xwite 2 years ago committed by GitHub
parent 09ae4c9f7f
commit 3b011095dd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      app/src/main/java/io/legado/app/ui/book/read/ReadBookActivity.kt

@ -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 {

Loading…
Cancel
Save