mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-07-16 02:32:52 +02:00
Fix build with Xcode.
This commit is contained in:
parent
8e9630459b
commit
c7c8e39e20
1 changed files with 3 additions and 1 deletions
|
@ -3934,7 +3934,9 @@ void AddUniqueGiftCover(
|
|||
st::uniqueGiftTitle);
|
||||
title->setTextColorOverride(QColor(255, 255, 255));
|
||||
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) {
|
||||
released->by = gift.releasedBy;
|
||||
released->bg = gift.backdrop.patternColor;
|
||||
|
|
Loading…
Add table
Reference in a new issue