mirror of
https://github.com/Qz3rK/tdesktop.git
synced 2026-07-03 14:15:08 +02:00
Added icons to buttons in edit peer permissions box.
This commit is contained in:
@@ -637,8 +637,8 @@ void AddSuggestGigagroup(
|
||||
tr::lng_rights_gigagroup_convert(),
|
||||
rpl::single(QString()),
|
||||
std::move(callback),
|
||||
st::peerPermissionsButton,
|
||||
{}));
|
||||
st::manageGroupTopicsButton,
|
||||
{ &st::settingsIconAskQuestion, Settings::kIconGreen }));
|
||||
|
||||
container->add(
|
||||
object_ptr<Ui::DividerLabel>(
|
||||
@@ -673,8 +673,8 @@ void AddBannedButtons(
|
||||
peer,
|
||||
ParticipantsBoxController::Role::Restricted);
|
||||
},
|
||||
st::peerPermissionsButton,
|
||||
{}));
|
||||
st::manageGroupTopicsButton,
|
||||
{ &st::settingsIconKey, Settings::kIconLightOrange }));
|
||||
if (channel) {
|
||||
container->add(EditPeerInfoBox::CreateButton(
|
||||
container,
|
||||
@@ -687,8 +687,8 @@ void AddBannedButtons(
|
||||
peer,
|
||||
ParticipantsBoxController::Role::Kicked);
|
||||
},
|
||||
st::peerPermissionsButton,
|
||||
{}));
|
||||
st::manageGroupTopicsButton,
|
||||
{ &st::settingsIconMinus, Settings::kIconRed }));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user