From bdb90b0fcac182ffec70a03e86bc882e6ca0e91b Mon Sep 17 00:00:00 2001 From: ammarahm-ed Date: Thu, 14 Jan 2021 14:45:47 +0500 Subject: [PATCH] update --- .../ActionSheetComponent/GetPremium.js | 25 ++++++++----------- 1 file changed, 11 insertions(+), 14 deletions(-) diff --git a/apps/mobile/src/components/ActionSheetComponent/GetPremium.js b/apps/mobile/src/components/ActionSheetComponent/GetPremium.js index 1313c49f5..3796a51b2 100644 --- a/apps/mobile/src/components/ActionSheetComponent/GetPremium.js +++ b/apps/mobile/src/components/ActionSheetComponent/GetPremium.js @@ -95,6 +95,16 @@ export const GetPremium = ({close, context = 'global', offset = 0}) => { }; }, []); + const onPress = async () => { + open(null); + eSendEvent(eCloseActionSheet); + if (editing.isFocused) { + post('blur'); + } + await sleep(300); + eSendEvent(eOpenPremiumDialog); + }; + return ( { -