mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2026-08-06 11:52:58 +00:00
Color the community remove button label red
This commit is contained in:
@@ -124,13 +124,14 @@ void AddButtonWithCount(
|
||||
rpl::producer<QString> &&text,
|
||||
rpl::producer<QString> &&count,
|
||||
Fn<void()> callback,
|
||||
Settings::IconDescriptor &&descriptor) {
|
||||
Settings::IconDescriptor &&descriptor,
|
||||
const style::SettingsCountButton &st = st::manageGroupButton) {
|
||||
parent->add(EditPeerInfoBox::CreateButton(
|
||||
parent,
|
||||
std::move(text),
|
||||
std::move(count),
|
||||
std::move(callback),
|
||||
st::manageGroupButton,
|
||||
st,
|
||||
std::move(descriptor)));
|
||||
}
|
||||
|
||||
@@ -1808,7 +1809,8 @@ void Controller::fillManageSection() {
|
||||
.confirmStyle = &st::attentionBoxButton,
|
||||
}));
|
||||
},
|
||||
{ &st::menuIconLeaveAttention });
|
||||
{ &st::menuIconLeaveAttention },
|
||||
st::manageGroupAttentionButton);
|
||||
::AddSkip(_controls.buttonsLayout);
|
||||
}
|
||||
|
||||
|
||||
@@ -909,6 +909,13 @@ manageDeleteGroupButton: SettingsCountButton(manageGroupNoIconButton) {
|
||||
}
|
||||
}
|
||||
|
||||
manageGroupAttentionButton: SettingsCountButton(manageGroupButton) {
|
||||
button: SettingsButton(manageGroupButtonInner) {
|
||||
textFg: attentionButtonFg;
|
||||
textFgOver: attentionButtonFg;
|
||||
}
|
||||
}
|
||||
|
||||
manageGroupReactions: IconButton(defaultIconButton) {
|
||||
width: 24px;
|
||||
height: 36px;
|
||||
|
||||
Reference in New Issue
Block a user