mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-16 06:07:06 +02:00
Don't show emoji tooltip in reactions / statuses.
This commit is contained in:
parent
7c8d3452b5
commit
ffaeb239f0
1 changed files with 3 additions and 0 deletions
|
@ -1515,6 +1515,9 @@ void EmojiListWidget::setAllowWithoutPremium(bool allow) {
|
|||
}
|
||||
|
||||
QString EmojiListWidget::tooltipText() const {
|
||||
if (_mode != Mode::Full) {
|
||||
return {};
|
||||
}
|
||||
const auto &replacements = Ui::Emoji::internal::GetAllReplacements();
|
||||
const auto over = std::get_if<OverEmoji>(&_selected);
|
||||
if (const auto emoji = lookupOverEmoji(over)) {
|
||||
|
|
Loading…
Add table
Reference in a new issue