This commit is contained in:
Riko Sakurauchi 2019-12-14 11:53:12 +08:00
parent ebd1563333
commit 4547880436
No known key found for this signature in database
GPG Key ID: 25AC0345B92902AF
1 changed files with 1 additions and 1 deletions

View File

@ -1189,7 +1189,7 @@ public class ChatEditActivity extends BaseFragment implements ImageUpdater.Image
}
blockCell.setTextAndValueAndIcon(LocaleController.getString("ChannelPermissions", R.string.ChannelPermissions), String.format("%d/%d", count, 8), R.drawable.actions_permissions, true);
}
adminCell.setTextAndValueAndIcon(LocaleController.getString("ChannelAdministrators", R.string.ChannelAdministrators), String.format("%d", ChatObject.isChannel(currentChat) ? getChannelAdminCount() : getAdminCount()), R.drawable.actions_addadmin, true);
adminCell.setTextAndValueAndIcon(LocaleController.getString("ChannelAdministrators", R.string.ChannelAdministrators), String.format("%d", ChatObject.isChannel(currentChat) ? ChatObject.hasAdminRights(currentChat) ? info.admins_count : getChannelAdminCount() : getAdminCount()), R.drawable.actions_addadmin, true);
} else {
if (isChannel) {
membersCell.setTextAndIcon(LocaleController.getString("ChannelSubscribers", R.string.ChannelSubscribers), R.drawable.actions_viewmembers, true);