2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 06:26:18 +00:00

Show premium tooltip on custom topic icon selection.

This commit is contained in:
John Preston
2022-10-25 12:48:48 +04:00
parent c6bc7c3de1
commit ec0380b250
5 changed files with 41 additions and 7 deletions

View File

@@ -1254,6 +1254,9 @@ void EmojiListWidget::mouseReleaseEvent(QMouseEvent *e) {
case Mode::EmojiStatus:
Settings::ShowPremium(_controller, u"emoji_status"_q);
break;
case Mode::TopicIcon:
Settings::ShowPremium(_controller, u"forum_topic_icon"_q);
break;
}
}
}

View File

@@ -63,6 +63,7 @@ class LocalStickersManager;
enum class EmojiListMode {
Full,
TopicIcon,
EmojiStatus,
FullReactions,
RecentReactions,