pull/32/head
kunfei 5 years ago
parent c674d0b9a6
commit f6b50650f5
  1. 4
      app/src/main/java/io/legado/app/ui/read/ReadBottomMenu.kt

@ -60,7 +60,7 @@ class ReadBottomMenu : FrameLayout {
}
override fun onStopTrackingTouch(seekBar: SeekBar) {
callback!!.skipToPage(seekBar.progress)
callback?.skipToPage(seekBar.progress)
}
})
@ -84,7 +84,7 @@ class ReadBottomMenu : FrameLayout {
//替换
fabReplaceRule.onClick { callback?.openReplaceRule() }
fabReplaceRule.onLongClick {
callback!!.toast(R.string.replace_rule_title)
callback?.toast(R.string.replace_rule_title)
true
}

Loading…
Cancel
Save