pull/1194/head
gedoor 3 years ago
parent 94d4d15e7d
commit 781c9cea12
  1. 6
      app/src/main/assets/updateLog.md
  2. 12
      app/src/main/java/io/legado/app/ui/book/read/ReadBookActivity.kt

@ -12,6 +12,12 @@
* 正文出现缺字漏字、内容缺失、排版错乱等情况,有可能是净化规则出现问题, 出现简体变化问题检查一下简繁转换是否关闭。
* 漫画源看书显示乱码,**阅读与其他软件的源并不通用**,请导入阅读的支持的漫画源!
**2021/07/31**
1. 为webService添加快捷操作
2. 规则内替换使用正则错误时自动切换为不使用正则
3. 优化Cronet
**2021/07/29**
1. 修复每次更新都重新导入text规则的bug

@ -140,6 +140,10 @@ class ReadBookActivity : ReadBookBaseActivity(),
upMenu()
upView()
}
}
override fun onPostCreate(savedInstanceState: Bundle?) {
super.onPostCreate(savedInstanceState)
viewModel.initData(intent)
}
@ -589,7 +593,7 @@ class ReadBookActivity : ReadBookBaseActivity(),
resetPageOffset: Boolean,
success: (() -> Unit)?
) {
runOnUI {
launch {
autoPageProgress = 0
binding.readView.upContent(relativePosition, resetPageOffset)
binding.readMenu.setSeekPage(ReadBook.durPageIndex())
@ -602,13 +606,13 @@ class ReadBookActivity : ReadBookBaseActivity(),
* 更新视图
*/
override fun upView() {
runOnUI {
launch {
binding.readMenu.upBookView()
}
}
override fun upPageAnim() {
runOnUI {
launch {
binding.readView.upPageAnim()
}
}
@ -617,7 +621,7 @@ class ReadBookActivity : ReadBookBaseActivity(),
* 页面改变
*/
override fun pageChanged() {
runOnUI {
launch {
autoPageProgress = 0
binding.readMenu.setSeekPage(ReadBook.durPageIndex())
mHandler.postDelayed(backupRunnable, 600000)

Loading…
Cancel
Save