Fixed build with Xcode.

This commit is contained in:
23rd
2025-12-05 19:50:09 +03:00
committed by John Preston
parent 3aa241d825
commit 25edab4c94
2 changed files with 2 additions and 5 deletions
@@ -798,7 +798,7 @@ void ShowGiftSaleAcceptBox(
AddTransferGiftTable(show, box->verticalLayout(), gift);
gift->value = std::move(taken);
if (const auto raw = gift->value.get()) {
if (gift->value.get()) {
const auto appConfig = &show->session().appConfig();
const auto rule = Ui::LookupCurrencyRule(u"USD"_q);
const auto value = (gift->value->valuePriceUsd > 0 ? 1 : -1)