mirror of
https://github.com/oxen-io/session-android.git
synced 2024-12-26 01:37:43 +00:00
delete listener if current user is admin
This commit is contained in:
parent
1b6ab36a03
commit
8837256276
@ -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)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user