mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 06:33:57 +02:00
Added icons to buttons in edit peer permissions box.
This commit is contained in:
parent
5f2c8acae9
commit
70a61fa2a4
1 changed files with 6 additions and 6 deletions
|
@ -637,8 +637,8 @@ void AddSuggestGigagroup(
|
||||||
tr::lng_rights_gigagroup_convert(),
|
tr::lng_rights_gigagroup_convert(),
|
||||||
rpl::single(QString()),
|
rpl::single(QString()),
|
||||||
std::move(callback),
|
std::move(callback),
|
||||||
st::peerPermissionsButton,
|
st::manageGroupTopicsButton,
|
||||||
{}));
|
{ &st::settingsIconAskQuestion, Settings::kIconGreen }));
|
||||||
|
|
||||||
container->add(
|
container->add(
|
||||||
object_ptr<Ui::DividerLabel>(
|
object_ptr<Ui::DividerLabel>(
|
||||||
|
@ -673,8 +673,8 @@ void AddBannedButtons(
|
||||||
peer,
|
peer,
|
||||||
ParticipantsBoxController::Role::Restricted);
|
ParticipantsBoxController::Role::Restricted);
|
||||||
},
|
},
|
||||||
st::peerPermissionsButton,
|
st::manageGroupTopicsButton,
|
||||||
{}));
|
{ &st::settingsIconKey, Settings::kIconLightOrange }));
|
||||||
if (channel) {
|
if (channel) {
|
||||||
container->add(EditPeerInfoBox::CreateButton(
|
container->add(EditPeerInfoBox::CreateButton(
|
||||||
container,
|
container,
|
||||||
|
@ -687,8 +687,8 @@ void AddBannedButtons(
|
||||||
peer,
|
peer,
|
||||||
ParticipantsBoxController::Role::Kicked);
|
ParticipantsBoxController::Role::Kicked);
|
||||||
},
|
},
|
||||||
st::peerPermissionsButton,
|
st::manageGroupTopicsButton,
|
||||||
{}));
|
{ &st::settingsIconMinus, Settings::kIconRed }));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue