mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 06:33:57 +02:00
Version 4.15: Fix build with Xcode.
This commit is contained in:
parent
eaad2034e6
commit
9a012d8b9b
2 changed files with 2 additions and 9 deletions
|
@ -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);
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
Subproject commit c698ee43ae5d61475e8ac639f05399add001c341
|
Subproject commit ef83bb6cbe2513bbb5fa7d9559410ce1c53cc432
|
Loading…
Add table
Reference in a new issue