2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 14:45:14 +00:00

Show premium stickers lock icon.

This commit is contained in:
John Preston
2022-05-20 18:57:01 +04:00
parent 5cd065ef6b
commit 853cafe195
19 changed files with 137 additions and 41 deletions

View File

@@ -447,7 +447,7 @@ void ReactionsSettingsBox(
&button->lifetime());
button->setClickedCallback([=, emoji = r.emoji] {
if (premium && !controller->session().user()->isPremium()) {
if (premium && !controller->session().premium()) {
Settings::ShowPremium(&controller->session());
return;
}