From e18390c3a3931d9962ef89ecd550fc8d155a3eff Mon Sep 17 00:00:00 2001 From: ammarahm-ed Date: Mon, 19 Apr 2021 13:44:19 +0500 Subject: [PATCH] show subscribed button if user is subscribed already --- apps/mobile/src/views/Settings/index.js | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/apps/mobile/src/views/Settings/index.js b/apps/mobile/src/views/Settings/index.js index 238fda4b1..6025bfd90 100644 --- a/apps/mobile/src/views/Settings/index.js +++ b/apps/mobile/src/views/Settings/index.js @@ -249,8 +249,8 @@ export const Settings = ({navigation}) => { eSendEvent(eScrollEvent, { - y:e.nativeEvent.contentOffset.y, - screen:"Settings" + y: e.nativeEvent.contentOffset.y, + screen: 'Settings', }) } scrollEventThrottle={1} @@ -765,13 +765,15 @@ const SettingsUserSection = () => { {user?.subscription?.provider && + user.subscription.type !== 6 && + user.subscription.type !== 7 && + user.subscription.type !== 0 && SUBSCRIPTION_PROVIDER[user?.subscription?.provider] ? (