From 0edb80b10fbd6ae2d0a0ba2c36c7075108f921a0 Mon Sep 17 00:00:00 2001 From: Wang Han <416810799@qq.com> Date: Tue, 14 Oct 2025 21:35:04 +0800 Subject: [PATCH] Set module card as non clickable It's so easy to mis-click card. --- app/apk/src/main/res/layout/item_module_md2.xml | 1 - 1 file changed, 1 deletion(-) diff --git a/app/apk/src/main/res/layout/item_module_md2.xml b/app/apk/src/main/res/layout/item_module_md2.xml index b33d221ca..20838317e 100644 --- a/app/apk/src/main/res/layout/item_module_md2.xml +++ b/app/apk/src/main/res/layout/item_module_md2.xml @@ -30,7 +30,6 @@ android:clickable="@{!item.removed && item.enabled && !item.showNotice}" android:focusable="@{!item.removed && item.enabled && !item.showNotice}" android:nextFocusRight="@id/module_indicator" - android:onClick="@{() -> item.setEnabled(!item.enabled)}" app:cardBackgroundColor="@color/color_card_background_color_selector" tools:isEnabled="false" tools:layout_gravity="center"