Premium Modal: Open for effects (#4801)
This commit is contained in:
parent
490a98be8b
commit
6edf0eaa09
@ -157,7 +157,11 @@ const StickerButton = <T extends number | ApiSticker | ApiBotInlineMediaResult |
|
||||
const handleClick = () => {
|
||||
if (isContextMenuOpen) return;
|
||||
if (isLocked) {
|
||||
openPremiumModal({ initialSection: 'premium_stickers' });
|
||||
if (isEffectEmoji) {
|
||||
openPremiumModal({ initialSection: 'effects' });
|
||||
} else {
|
||||
openPremiumModal({ initialSection: 'premium_stickers' });
|
||||
}
|
||||
return;
|
||||
}
|
||||
onClick?.(clickArg);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user