Fix buid with Xcode.

This commit is contained in:
John Preston
2026-02-06 22:44:58 +04:00
parent 8d85f1d76f
commit e94373f264
@@ -271,7 +271,7 @@ void GiftButton::setDescriptor(const GiftDescriptor &descriptor, Mode mode) {
: data.from
? Ui::MakeUserpicThumbnail(data.from)
: Ui::MakeHiddenAuthorThumbnail();
if (small() && !resale || (_mode == Mode::Craft)) {
if ((small() && !resale) || (_mode == Mode::Craft)) {
_price = {};
_stars.reset();
return;