mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-15 21:57:10 +02:00
Fix the Release build for macOS.
This commit is contained in:
parent
5286c7b1c3
commit
a67fdda913
1 changed files with 2 additions and 2 deletions
|
@ -323,7 +323,7 @@ void CreateGiveawayBox(
|
|||
tr::lng_giveaway_award()),
|
||||
rpl::conditional(
|
||||
isPrepaidCredits
|
||||
? rpl::single(true)
|
||||
? rpl::single(true) | rpl::type_erased()
|
||||
: state->typeValue.value() | rpl::map(
|
||||
rpl::mappers::_1 == GiveawayType::Credits),
|
||||
(peer->isMegagroup()
|
||||
|
@ -1382,7 +1382,7 @@ void CreateGiveawayBox(
|
|||
tr::lng_giveaway_start(),
|
||||
tr::lng_giveaway_award()),
|
||||
(prepaid && prepaid->boosts)
|
||||
? rpl::single(prepaid->boosts)
|
||||
? rpl::single(prepaid->boosts) | rpl::type_erased()
|
||||
: rpl::conditional(
|
||||
state->typeValue.value(
|
||||
) | rpl::map(rpl::mappers::_1 == GiveawayType::Credits),
|
||||
|
|
Loading…
Add table
Reference in a new issue