| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent eaad203 commit 9a012d8
2 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -694,13 +694,6 @@ int ColorSelector::resizeGetHeight(int newWidth) { | |||
| 694 | 694 | return st; | |
| 695 | 695 | } | |
| 696 | 696 | ||
| 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 | - | ||
| 704 | 697 | struct ButtonWithEmoji { | |
| 705 | 698 | not_null<const style::SettingsButton*> st; | |
| 706 | 699 | int emojiWidth = 0; | |
@@ -1009,7 +1002,7 @@ struct ButtonWithEmoji { | |||
| 1009 | 1002 | channel->session().changes().peerFlagsValue( | |
| 1010 | 1003 | channel, | |
| 1011 | 1004 | Data::PeerUpdate::Flag::EmojiSet | |
| 1012 | - ) | rpl::map([=] { | ||
| 1005 | + ) | rpl::map([=]() -> rpl::producer<DocumentData*> { | ||
| 1013 | 1006 | const auto id = channel->mgInfo->emojiSet.id; | |
| 1014 | 1007 | if (!id) { | |
| 1015 | 1008 | return rpl::single<DocumentData*>(nullptr); | |
| Back | FazBrowse Home | New Git URL |
0 commit comments