mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 06:33:57 +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 {
|
QString EmojiListWidget::tooltipText() const {
|
||||||
|
if (_mode != Mode::Full) {
|
||||||
|
return {};
|
||||||
|
}
|
||||||
const auto &replacements = Ui::Emoji::internal::GetAllReplacements();
|
const auto &replacements = Ui::Emoji::internal::GetAllReplacements();
|
||||||
const auto over = std::get_if<OverEmoji>(&_selected);
|
const auto over = std::get_if<OverEmoji>(&_selected);
|
||||||
if (const auto emoji = lookupOverEmoji(over)) {
|
if (const auto emoji = lookupOverEmoji(over)) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue