File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff 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,
Original file line number Diff line number Diff 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 },
You can’t perform that action at this time.
0 commit comments