diff --git a/Telegram/SourceFiles/boxes/peers/edit_peer_info_box.cpp b/Telegram/SourceFiles/boxes/peers/edit_peer_info_box.cpp index e032228f65..3bc8183f1e 100644 --- a/Telegram/SourceFiles/boxes/peers/edit_peer_info_box.cpp +++ b/Telegram/SourceFiles/boxes/peers/edit_peer_info_box.cpp @@ -124,13 +124,14 @@ void AddButtonWithCount( rpl::producer &&text, rpl::producer &&count, Fn 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); } diff --git a/Telegram/SourceFiles/info/info.style b/Telegram/SourceFiles/info/info.style index 48dc0acaf8..d3b3988926 100644 --- a/Telegram/SourceFiles/info/info.style +++ b/Telegram/SourceFiles/info/info.style @@ -909,6 +909,13 @@ manageDeleteGroupButton: SettingsCountButton(manageGroupNoIconButton) { } } +manageGroupAttentionButton: SettingsCountButton(manageGroupButton) { + button: SettingsButton(manageGroupButtonInner) { + textFg: attentionButtonFg; + textFgOver: attentionButtonFg; + } +} + manageGroupReactions: IconButton(defaultIconButton) { width: 24px; height: 36px;