mirror of
https://github.com/Qz3rK/tdesktop.git
synced 2026-07-03 14:15:08 +02:00
Version 5.6.2: Fix build with GCC.
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user