Version 4.15: Fix build with Xcode.

This commit is contained in:
John Preston 2024-02-18 20:46:10 +04:00
parent eaad2034e6
commit 9a012d8b9b
2 changed files with 2 additions and 9 deletions

View File

@ -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<const style::SettingsButton*> 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<DocumentData*> {
const auto id = channel->mgInfo->emojiSet.id;
if (!id) {
return rpl::single<DocumentData*>(nullptr);

@ -1 +1 @@
Subproject commit c698ee43ae5d61475e8ac639f05399add001c341
Subproject commit ef83bb6cbe2513bbb5fa7d9559410ce1c53cc432