Skip to content

Commit 6e75a41

Browse files
committed
Version 6.3.4: Fix build with Xcode.
1 parent 84266ae commit 6e75a41

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Telegram/SourceFiles/info/profile/info_profile_top_bar.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1856,7 +1856,7 @@ void TopBar::setupButtons(
18561856
_back->QWidget::show();
18571857
_back->setDuration(0);
18581858
_back->toggleOn(isLayer || isSide
1859-
? _backToggles.value()
1859+
? (_backToggles.value() | rpl::type_erased())
18601860
: rpl::single(wrap == Wrap::Narrow));
18611861
_back->entity()->clicks() | rpl::to_empty | rpl::start_to_stream(
18621862
_backClicks,

Telegram/SourceFiles/payments/ui/payments_reaction_box.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -515,7 +515,7 @@ void PaidReactionsBox(
515515
count);
516516
return Ui::ColorFromSerialized(coloring.bgLight);
517517
};
518-
const auto bubble = AddStarSelectBubble(
518+
AddStarSelectBubble(
519519
content,
520520
BoxShowFinishes(box),
521521
state->chosen.value(),
@@ -547,10 +547,10 @@ void PaidReactionsBox(
547547
colorings,
548548
(videoStreamAdmin
549549
? rpl::single(state->chosen.current())
550-
: state->chosen.value()),
550+
: state->chosen.value() | rpl::type_erased()),
551551
(videoStreamAdmin
552552
? rpl::single(state->shownPeer.current())
553-
: state->shownPeer.value()),
553+
: state->shownPeer.value() | rpl::type_erased()),
554554
[=](uint64 barePeerId) {
555555
state->shownPeer = state->savedShownPeer = barePeerId;
556556
},

0 commit comments

Comments
 (0)