Skip to content
This repository was archived by the owner on May 4, 2023. It is now read-only.

Commit 52d22fe

Browse files
committed
Fix click not registering when clicking on image icon.
1 parent 2b43569 commit 52d22fe

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

app/src/main/java/com/fox2code/mmm/ModuleViewAdapter.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,7 @@ public ViewHolder(@NonNull View itemView) {
104104
}
105105
}
106106
});
107+
this.buttonAction.setClickable(false);
107108
this.switchMaterial.setEnabled(false);
108109
this.switchMaterial.setOnCheckedChangeListener((v, checked) -> {
109110
if (this.initState) return; // Skip if non user

0 commit comments

Comments
 (0)