Removed redundant button for chat management from info actions list.

This commit is contained in:
23rd
2025-10-31 15:46:09 +03:00
parent 71cbb037ce
commit 4e9f2aaadd
@@ -2887,20 +2887,6 @@ object_ptr<Ui::RpWidget> SetupChannelMembersAndManage(
st::infoChannelAdminsIconPosition);
}
if (EditPeerInfoBox::Available(channel)) {
const auto sessionController = controller->parentController();
const auto button = AddActionButton(
result->entity(),
tr::lng_profile_manage(),
rpl::single(true),
[=] { sessionController->showEditPeerBox(channel); },
nullptr);
object_ptr<FloatingIcon>(
button,
st::menuIconManage,
st::infoChannelAdminsIconPosition);
}
result->setDuration(st::infoSlideDuration)->toggleOn(
rpl::combine(
std::move(membersShown),