From f6b50650f56ff62f9f836491af98ab9002be8322 Mon Sep 17 00:00:00 2001 From: kunfei Date: Wed, 14 Aug 2019 08:26:31 +0800 Subject: [PATCH] up --- app/src/main/java/io/legado/app/ui/read/ReadBottomMenu.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/io/legado/app/ui/read/ReadBottomMenu.kt b/app/src/main/java/io/legado/app/ui/read/ReadBottomMenu.kt index 45ea48921..b46f53098 100644 --- a/app/src/main/java/io/legado/app/ui/read/ReadBottomMenu.kt +++ b/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 }