mirror of
https://github.com/Qz3rK/tdesktop.git
synced 2026-07-03 14:15:08 +02:00
Allow copying static emoji as well.
This commit is contained in:
@@ -1097,6 +1097,11 @@ void EmojiListWidget::fillRecentMenu(
|
||||
crl::guard(this, [=] { displaySet(setId); }),
|
||||
&st::menuIconShowAll);
|
||||
}
|
||||
} else if (emoji) {
|
||||
addAction(tr::lng_emoji_copy(tr::now), [=] {
|
||||
const auto text = emoji->text();
|
||||
TextUtilities::SetClipboardText({ text, { text } });
|
||||
}, &st::menuIconCopy);
|
||||
}
|
||||
auto id = RecentEmojiId{ emoji };
|
||||
if (custom) {
|
||||
|
||||
Reference in New Issue
Block a user