2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-09-03 16:05:57 +00:00

Correctly show premium promo for custom reactions.

This commit is contained in:
John Preston
2022-08-30 10:53:07 +04:00
parent a3c110dafa
commit ebf6cea2f5
8 changed files with 75 additions and 47 deletions

View File

@@ -455,9 +455,7 @@ void ReactionsSettingsBox(
button->setClickedCallback([=, id = r.id] {
if (premium && !controller->session().premium()) {
ShowPremiumPreviewBox(
controller,
PremiumPreview::Reactions);
ShowPremiumPreviewBox(controller, PremiumPreview::Reactions);
return;
}
checkButton(button);