delete listener if current user is admin

This commit is contained in:
Brice-W 2021-06-15 17:21:24 +10:00
parent 1b6ab36a03
commit 8837256276

View File

@ -56,6 +56,8 @@ class EditClosedGroupMembersAdapter(
if (unlocked) { if (unlocked) {
viewHolder.view.setOnClickListener { this.memberClickListener?.invoke(member) } viewHolder.view.setOnClickListener { this.memberClickListener?.invoke(member) }
} else {
viewHolder.view.setOnClickListener(null)
} }
} }