mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 22:54:01 +02:00
Version 5.6.2: Fix build with GCC.
This commit is contained in:
parent
cfe93530b8
commit
b41ac0fc2a
1 changed files with 0 additions and 8 deletions
|
@ -1074,14 +1074,6 @@ void SendGiftBox(
|
|||
x += single.width() + st::giftBoxGiftSkip.x();
|
||||
}
|
||||
|
||||
const auto premiumSent = [=](Payments::CheckoutResult result) {
|
||||
state->sending = false;
|
||||
if (result == Payments::CheckoutResult::Paid) {
|
||||
window->showPeerHistory(peer);
|
||||
window->showToast(
|
||||
Ui::Text::Bold(tr::lng_gift_sent_title(tr::now)));
|
||||
}
|
||||
};
|
||||
button->setClickedCallback([=] {
|
||||
const auto star = std::get_if<GiftTypeStars>(&descriptor);
|
||||
if (star && star->limitedCount && !star->limitedLeft) {
|
||||
|
|
Loading…
Add table
Reference in a new issue