mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-16 14:17:12 +02:00
Slightly improved style of anti-spam buttons.
This commit is contained in:
parent
fe6ad54836
commit
819e1602ef
2 changed files with 2 additions and 1 deletions
|
@ -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()
|
||||
|
|
|
@ -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());
|
||||
|
|
Loading…
Add table
Reference in a new issue