mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 14:45:14 +00:00
Version 4.15: Fix build with Xcode.
This commit is contained in:
@@ -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);
|
||||
|
Submodule Telegram/lib_webview updated: c698ee43ae...ef83bb6cbe
Reference in New Issue
Block a user