From 9a012d8b9bdeee4ea4c5fb413cdbd801cea32ff7 Mon Sep 17 00:00:00 2001 From: John Preston Date: Sun, 18 Feb 2024 20:46:10 +0400 Subject: [PATCH] Version 4.15: Fix build with Xcode. --- Telegram/SourceFiles/boxes/peers/edit_peer_color_box.cpp | 9 +-------- Telegram/lib_webview | 2 +- 2 files changed, 2 insertions(+), 9 deletions(-) diff --git a/Telegram/SourceFiles/boxes/peers/edit_peer_color_box.cpp b/Telegram/SourceFiles/boxes/peers/edit_peer_color_box.cpp index 1fbc8c898..2627d2342 100644 --- a/Telegram/SourceFiles/boxes/peers/edit_peer_color_box.cpp +++ b/Telegram/SourceFiles/boxes/peers/edit_peer_color_box.cpp @@ -694,13 +694,6 @@ int ColorSelector::resizeGetHeight(int newWidth) { return st; } -[[nodiscard]] int EmojiWidth() { -} - -[[nodiscard]] int NoneWidth() { - return st::normalFont->width(tr::lng_settings_color_emoji_off(tr::now)); -} - struct ButtonWithEmoji { not_null st; int emojiWidth = 0; @@ -1009,7 +1002,7 @@ struct ButtonWithEmoji { channel->session().changes().peerFlagsValue( channel, Data::PeerUpdate::Flag::EmojiSet - ) | rpl::map([=] { + ) | rpl::map([=]() -> rpl::producer { const auto id = channel->mgInfo->emojiSet.id; if (!id) { return rpl::single(nullptr); diff --git a/Telegram/lib_webview b/Telegram/lib_webview index c698ee43a..ef83bb6cb 160000 --- a/Telegram/lib_webview +++ b/Telegram/lib_webview @@ -1 +1 @@ -Subproject commit c698ee43ae5d61475e8ac639f05399add001c341 +Subproject commit ef83bb6cbe2513bbb5fa7d9559410ce1c53cc432