mirror of
https://github.com/Qz3rK/tdesktop.git
synced 2026-07-03 14:15:08 +02:00
Removed redundant button for chat management from info actions list.
This commit is contained in:
@@ -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),
|
||||
|
||||
Reference in New Issue
Block a user