Slightly improved style of anti-spam buttons.

This commit is contained in:
23rd 2022-12-02 01:46:31 +03:00
parent fe6ad54836
commit 819e1602ef
2 changed files with 2 additions and 1 deletions

View File

@ -1181,7 +1181,7 @@ void InnerWidget::showContextMenu(QContextMenuEvent *e, bool showFromTouch) {
_menu = base::make_unique_q<Ui::PopupMenu>(
this,
st::popupMenuWithIcons);
st::popupMenuExpandedSeparator);
const auto link = ClickHandler::getActive();
auto view = Element::Hovered()

View File

@ -78,6 +78,7 @@ object_ptr<Ui::RpWidget> AntiSpamValidator::createButton() const {
_channel->antiSpamMode()
) | rpl::then(state->toggled.events()));
container->show(anim::type::instant);
Settings::AddSkip(container->entity());
Settings::AddDividerText(
container->entity(),
tr::lng_manage_peer_antispam_about());