1
0
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:
Riko Sakurauchi 2020-01-03 10:16:50 +08:00
parent 107fe3dfbe
commit 5e246f2bbf
No known key found for this signature in database
GPG Key ID: 25AC0345B92902AF

View File

@ -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);