mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-30 14:08:41 +00:00
Fix build with Xcode.
This commit is contained in:
parent
8e9630459b
commit
c7c8e39e20
@ -3934,7 +3934,9 @@ void AddUniqueGiftCover(
|
|||||||
st::uniqueGiftTitle);
|
st::uniqueGiftTitle);
|
||||||
title->setTextColorOverride(QColor(255, 255, 255));
|
title->setTextColorOverride(QColor(255, 255, 255));
|
||||||
auto subtitleText = subtitleOverride
|
auto subtitleText = subtitleOverride
|
||||||
? std::move(subtitleOverride) | Ui::Text::ToWithEntities()
|
? std::move(
|
||||||
|
subtitleOverride
|
||||||
|
) | Ui::Text::ToWithEntities() | rpl::type_erased()
|
||||||
: rpl::duplicate(data) | rpl::map([=](const Data::UniqueGift &gift) {
|
: rpl::duplicate(data) | rpl::map([=](const Data::UniqueGift &gift) {
|
||||||
released->by = gift.releasedBy;
|
released->by = gift.releasedBy;
|
||||||
released->bg = gift.backdrop.patternColor;
|
released->bg = gift.backdrop.patternColor;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user