mirror of
https://github.com/NekoX-Dev/NekoX.git
synced 2024-12-04 10:20:38 +01:00
fix group permission
This commit is contained in:
parent
107fe3dfbe
commit
5e246f2bbf
@ -644,7 +644,7 @@ public class ChatEditActivity extends BaseFragment implements ImageUpdater.Image
|
||||
|
||||
blockCell = new TextCell(context);
|
||||
blockCell.setBackgroundDrawable(Theme.getSelectorDrawable(false));
|
||||
blockCell.setVisibility(ChatObject.isChannel(currentChat) || currentChat.creator ? View.VISIBLE : View.GONE);
|
||||
blockCell.setVisibility(View.VISIBLE);
|
||||
blockCell.setOnClickListener(v -> {
|
||||
Bundle args = new Bundle();
|
||||
args.putInt("chat_id", chatId);
|
||||
|
Loading…
Reference in New Issue
Block a user