From 792dd9497b3f4b28d68cd78669e0b0b2dfb9831d Mon Sep 17 00:00:00 2001 From: gedoor Date: Tue, 10 Nov 2020 23:58:02 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=BC=BA=E7=82=B9=E5=87=BB=E7=BF=BB?= =?UTF-8?q?=E9=A1=B5=E8=AE=BE=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../app/ui/book/read/config/ClickActionConfigDialog.kt | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/app/src/main/java/io/legado/app/ui/book/read/config/ClickActionConfigDialog.kt b/app/src/main/java/io/legado/app/ui/book/read/config/ClickActionConfigDialog.kt index f31969928..7a42936c6 100644 --- a/app/src/main/java/io/legado/app/ui/book/read/config/ClickActionConfigDialog.kt +++ b/app/src/main/java/io/legado/app/ui/book/read/config/ClickActionConfigDialog.kt @@ -72,41 +72,49 @@ class ClickActionConfigDialog : BaseDialogFragment() { tv_top_left.onClick { selectAction { action -> putPrefInt(PreferKey.clickActionTopLeft, action) + initData() } } tv_top_center.onClick { selectAction { action -> putPrefInt(PreferKey.clickActionTopCenter, action) + initData() } } tv_top_right.onClick { selectAction { action -> putPrefInt(PreferKey.clickActionTopRight, action) + initData() } } tv_middle_left.onClick { selectAction { action -> putPrefInt(PreferKey.clickActionMiddleLeft, action) + initData() } } tv_middle_right.onClick { selectAction { action -> putPrefInt(PreferKey.clickActionMiddleRight, action) + initData() } } tv_bottom_left.onClick { selectAction { action -> putPrefInt(PreferKey.clickActionBottomLeft, action) + initData() } } tv_bottom_center.onClick { selectAction { action -> putPrefInt(PreferKey.clickActionBottomCenter, action) + initData() } } tv_bottom_right.onClick { selectAction { action -> putPrefInt(PreferKey.clickActionBottomRight, action) + initData() } } }