From 468597f54d3525b76fc181a521097fde5127cd40 Mon Sep 17 00:00:00 2001 From: John Preston Date: Wed, 9 Dec 2020 12:40:11 +0400 Subject: [PATCH] Beta version 2.4.12: Fix Release build on macOS. --- Telegram/SourceFiles/calls/calls_top_bar.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Telegram/SourceFiles/calls/calls_top_bar.cpp b/Telegram/SourceFiles/calls/calls_top_bar.cpp index 4c51f0804..ab9167555 100644 --- a/Telegram/SourceFiles/calls/calls_top_bar.cpp +++ b/Telegram/SourceFiles/calls/calls_top_bar.cpp @@ -258,7 +258,8 @@ void TopBar::initControls() { ? _call->mutedValue() | rpl::map(mapToState) : (_groupCall->mutedValue() | MapPushToTalkToActive() - | rpl::distinct_until_changed()); + | rpl::distinct_until_changed() + | rpl::type_erased()); std::move( muted ) | rpl::start_with_next([=](MuteState state) {