Skip to content

Commit

Permalink
Version 5.6.2: Fix build with GCC.
Browse files Browse the repository at this point in the history
  • Loading branch information
john-preston committed Oct 14, 2024
1 parent cfe9353 commit b41ac0f
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions Telegram/SourceFiles/boxes/star_gift_box.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit b41ac0f

Please sign in to comment.