From 6edf0eaa09b594304d8f297ad59ffc90546f54d2 Mon Sep 17 00:00:00 2001 From: Alexander Zinchuk Date: Tue, 6 Aug 2024 20:06:06 +0200 Subject: [PATCH] Premium Modal: Open for effects (#4801) --- src/components/common/StickerButton.tsx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/components/common/StickerButton.tsx b/src/components/common/StickerButton.tsx index c5408d928..b92b78dca 100644 --- a/src/components/common/StickerButton.tsx +++ b/src/components/common/StickerButton.tsx @@ -157,7 +157,11 @@ const StickerButton = { if (isContextMenuOpen) return; if (isLocked) { - openPremiumModal({ initialSection: 'premium_stickers' }); + if (isEffectEmoji) { + openPremiumModal({ initialSection: 'effects' }); + } else { + openPremiumModal({ initialSection: 'premium_stickers' }); + } return; } onClick?.(clickArg);