mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 06:33:57 +02:00
Workaround MSVC 17.3.2 ICE.
This commit is contained in:
parent
82d68f5b98
commit
7b005c64e0
1 changed files with 4 additions and 3 deletions
|
@ -2612,6 +2612,9 @@ void StickersListWidget::removeMegagroupSet(bool locally) {
|
||||||
refreshStickers();
|
refreshStickers();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
const auto cancelled = [](Fn<void()> &&close) {
|
||||||
|
close();
|
||||||
|
};
|
||||||
checkHideWithBox(controller()->show(Ui::MakeConfirmBox({
|
checkHideWithBox(controller()->show(Ui::MakeConfirmBox({
|
||||||
.text = tr::lng_stickers_remove_group_set(),
|
.text = tr::lng_stickers_remove_group_set(),
|
||||||
.confirmed = crl::guard(this, [this, group = _megagroupSet](
|
.confirmed = crl::guard(this, [this, group = _megagroupSet](
|
||||||
|
@ -2623,9 +2626,7 @@ void StickersListWidget::removeMegagroupSet(bool locally) {
|
||||||
}
|
}
|
||||||
close();
|
close();
|
||||||
}),
|
}),
|
||||||
.cancelled = [](Fn<void()> &&close) {
|
.cancelled = cancelled,
|
||||||
close();
|
|
||||||
},
|
|
||||||
})));
|
})));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue