mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 06:33:57 +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>(
|
_menu = base::make_unique_q<Ui::PopupMenu>(
|
||||||
this,
|
this,
|
||||||
st::popupMenuWithIcons);
|
st::popupMenuExpandedSeparator);
|
||||||
|
|
||||||
const auto link = ClickHandler::getActive();
|
const auto link = ClickHandler::getActive();
|
||||||
auto view = Element::Hovered()
|
auto view = Element::Hovered()
|
||||||
|
|
|
@ -78,6 +78,7 @@ object_ptr<Ui::RpWidget> AntiSpamValidator::createButton() const {
|
||||||
_channel->antiSpamMode()
|
_channel->antiSpamMode()
|
||||||
) | rpl::then(state->toggled.events()));
|
) | rpl::then(state->toggled.events()));
|
||||||
container->show(anim::type::instant);
|
container->show(anim::type::instant);
|
||||||
|
Settings::AddSkip(container->entity());
|
||||||
Settings::AddDividerText(
|
Settings::AddDividerText(
|
||||||
container->entity(),
|
container->entity(),
|
||||||
tr::lng_manage_peer_antispam_about());
|
tr::lng_manage_peer_antispam_about());
|
||||||
|
|
Loading…
Add table
Reference in a new issue