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
1 changed files with 0 additions and 5 deletions

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