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