mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-09-02 15:45:12 +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;
|
return st;
|
||||||
}
|
}
|
||||||
|
|
||||||
[[nodiscard]] int EmojiWidth() {
|
|
||||||
}
|
|
||||||
|
|
||||||
[[nodiscard]] int NoneWidth() {
|
|
||||||
return st::normalFont->width(tr::lng_settings_color_emoji_off(tr::now));
|
|
||||||
}
|
|
||||||
|
|
||||||
struct ButtonWithEmoji {
|
struct ButtonWithEmoji {
|
||||||
not_null<const style::SettingsButton*> st;
|
not_null<const style::SettingsButton*> st;
|
||||||
int emojiWidth = 0;
|
int emojiWidth = 0;
|
||||||
@@ -1009,7 +1002,7 @@ struct ButtonWithEmoji {
|
|||||||
channel->session().changes().peerFlagsValue(
|
channel->session().changes().peerFlagsValue(
|
||||||
channel,
|
channel,
|
||||||
Data::PeerUpdate::Flag::EmojiSet
|
Data::PeerUpdate::Flag::EmojiSet
|
||||||
) | rpl::map([=] {
|
) | rpl::map([=]() -> rpl::producer<DocumentData*> {
|
||||||
const auto id = channel->mgInfo->emojiSet.id;
|
const auto id = channel->mgInfo->emojiSet.id;
|
||||||
if (!id) {
|
if (!id) {
|
||||||
return rpl::single<DocumentData*>(nullptr);
|
return rpl::single<DocumentData*>(nullptr);
|
||||||
|
Submodule Telegram/lib_webview updated: c698ee43ae...ef83bb6cbe
Reference in New Issue
Block a user