From 6e75a41ee67fbbb463e1f71108c4f6450078d5bc Mon Sep 17 00:00:00 2001 From: John Preston Date: Wed, 26 Nov 2025 16:33:49 +0400 Subject: [PATCH] Version 6.3.4: Fix build with Xcode. --- Telegram/SourceFiles/info/profile/info_profile_top_bar.cpp | 2 +- Telegram/SourceFiles/payments/ui/payments_reaction_box.cpp | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Telegram/SourceFiles/info/profile/info_profile_top_bar.cpp b/Telegram/SourceFiles/info/profile/info_profile_top_bar.cpp index 0afeff2177..d035665a92 100644 --- a/Telegram/SourceFiles/info/profile/info_profile_top_bar.cpp +++ b/Telegram/SourceFiles/info/profile/info_profile_top_bar.cpp @@ -1856,7 +1856,7 @@ void TopBar::setupButtons( _back->QWidget::show(); _back->setDuration(0); _back->toggleOn(isLayer || isSide - ? _backToggles.value() + ? (_backToggles.value() | rpl::type_erased()) : rpl::single(wrap == Wrap::Narrow)); _back->entity()->clicks() | rpl::to_empty | rpl::start_to_stream( _backClicks, diff --git a/Telegram/SourceFiles/payments/ui/payments_reaction_box.cpp b/Telegram/SourceFiles/payments/ui/payments_reaction_box.cpp index d09378fff5..00dae69e09 100644 --- a/Telegram/SourceFiles/payments/ui/payments_reaction_box.cpp +++ b/Telegram/SourceFiles/payments/ui/payments_reaction_box.cpp @@ -515,7 +515,7 @@ void PaidReactionsBox( count); return Ui::ColorFromSerialized(coloring.bgLight); }; - const auto bubble = AddStarSelectBubble( + AddStarSelectBubble( content, BoxShowFinishes(box), state->chosen.value(), @@ -547,10 +547,10 @@ void PaidReactionsBox( colorings, (videoStreamAdmin ? rpl::single(state->chosen.current()) - : state->chosen.value()), + : state->chosen.value() | rpl::type_erased()), (videoStreamAdmin ? rpl::single(state->shownPeer.current()) - : state->shownPeer.value()), + : state->shownPeer.value() | rpl::type_erased()), [=](uint64 barePeerId) { state->shownPeer = state->savedShownPeer = barePeerId; },