mirror of
https://github.com/NekoX-Dev/NekoX.git
synced 2025-01-06 02:57:16 +01:00
fix ChatEditActivity with no admin rights
This commit is contained in:
parent
11f055d23f
commit
f8a72d335e
@ -915,11 +915,6 @@ public class ChatEditActivity extends BaseFragment implements ImageUpdater.Image
|
||||
});
|
||||
}
|
||||
|
||||
if (!ChatObject.hasAdminRights(currentChat)) {
|
||||
infoContainer.setVisibility(View.GONE);
|
||||
settingsTopSectionCell.setVisibility(View.GONE);
|
||||
}
|
||||
|
||||
if (stickersCell == null) {
|
||||
infoSectionCell = new ShadowSectionCell(context);
|
||||
linearLayout1.addView(infoSectionCell, LayoutHelper.createLinear(LayoutHelper.MATCH_PARENT, LayoutHelper.WRAP_CONTENT));
|
||||
|
Loading…
Reference in New Issue
Block a user