|
|
@ -60,7 +60,7 @@ class ReadBottomMenu : FrameLayout { |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
override fun onStopTrackingTouch(seekBar: SeekBar) { |
|
|
|
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.onClick { callback?.openReplaceRule() } |
|
|
|
fabReplaceRule.onLongClick { |
|
|
|
fabReplaceRule.onLongClick { |
|
|
|
callback!!.toast(R.string.replace_rule_title) |
|
|
|
callback?.toast(R.string.replace_rule_title) |
|
|
|
true |
|
|
|
true |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|