优化
This commit is contained in:
1 parent
506d78984b
commit
c77dbf5cee
1 file changed
+1
@@ -64,6 +64,7 @@ class ContentEditDialog : BaseDialogFragment(R.layout.dialog_content_edit) {
|
|||||||
}
|
}
|
||||||
R.id.menu_reset -> viewModel.initContent(true) { content ->
|
R.id.menu_reset -> viewModel.initContent(true) { content ->
|
||||||
binding.contentView.setText(content)
|
binding.contentView.setText(content)
|
||||||
|
ReadBook.loadContent(ReadBook.durChapterIndex, resetPageOffset = false)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return@setOnMenuItemClickListener true
|
return@setOnMenuItemClickListener true
|
||||||
|
|||||||
Reference in new issue
Block a user