1
0
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:
luvletter2333 2022-07-10 15:10:36 +08:00
parent 11f055d23f
commit f8a72d335e
No known key found for this signature in database
GPG Key ID: A26A8880836E1978

View File

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