This commit is contained in:
kunfei
2022-02-17 22:19:06 +08:00
parent 506d78984b
commit c77dbf5cee
@@ -64,6 +64,7 @@ class ContentEditDialog : BaseDialogFragment(R.layout.dialog_content_edit) {
}
R.id.menu_reset -> viewModel.initContent(true) { content ->
binding.contentView.setText(content)
ReadBook.loadContent(ReadBook.durChapterIndex, resetPageOffset = false)
}
}
return@setOnMenuItemClickListener true