FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Version 4.15: Fix build with Xcode. · folkcode/tdesktop@9a012d8 · GitHub

Commit 9a012d8

Browse files
committed
Version 4.15: Fix build with Xcode.
1 parent eaad203 commit 9a012d8

2 files changed

Lines changed: 2 additions & 9 deletions

File tree

‎Telegram/SourceFiles/boxes/peers/edit_peer_color_box.cpp‎

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -694,13 +694,6 @@ int ColorSelector::resizeGetHeight(int newWidth) {
694694
return st;
695695
}
696696

697-
[[nodiscard]] int EmojiWidth() {
698-
}
699-
700-
[[nodiscard]] int NoneWidth() {
701-
return st::normalFont->width(tr::lng_settings_color_emoji_off(tr::now));
702-
}
703-
704697
struct ButtonWithEmoji {
705698
not_null<const style::SettingsButton*> st;
706699
int emojiWidth = 0;
@@ -1009,7 +1002,7 @@ struct ButtonWithEmoji {
10091002
channel->session().changes().peerFlagsValue(
10101003
channel,
10111004
Data::PeerUpdate::Flag::EmojiSet
1012-
) | rpl::map([=] {
1005+
) | rpl::map([=]() -> rpl::producer<DocumentData*> {
10131006
const auto id = channel->mgInfo->emojiSet.id;
10141007
if (!id) {
10151008
return rpl::single<DocumentData*>(nullptr);

‎Telegram/lib_webview‎

0 commit comments

Comments
 (0)

Back | FazBrowse Home | New Git URL