From 2ea734e7cfdcf121b11924022e8e85225fe0ec2f Mon Sep 17 00:00:00 2001 From: ammarahm-ed Date: Wed, 24 Feb 2021 11:11:41 +0500 Subject: [PATCH] decrease size of premium dialog text --- apps/mobile/src/components/Premium/PremiumDialog.js | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/apps/mobile/src/components/Premium/PremiumDialog.js b/apps/mobile/src/components/Premium/PremiumDialog.js index 8be43db03..e9f496c50 100644 --- a/apps/mobile/src/components/Premium/PremiumDialog.js +++ b/apps/mobile/src/components/Premium/PremiumDialog.js @@ -1,4 +1,5 @@ import React, {createRef, useEffect, useRef, useState} from 'react'; +import {Platform} from 'react-native'; import {View} from 'react-native'; import * as RNIap from 'react-native-iap'; import Carousel from 'react-native-snap-carousel'; @@ -216,7 +217,7 @@ const InnerComponent = React.memo( }} fontSize={SIZE.md} title={ - !user + user ? `Subscribe for ${product?.localizedPrice || '$4.49'} / Month` : 'Start Your Free 14 Day Trial' } @@ -225,7 +226,7 @@ const InnerComponent = React.memo( width="100%" /> - {user ? ( + {!user ? ( ) : null} - {user ? ( + {user && Platform.OS === 'ios' ? ( <> By tapping Subscribe, you agree to our{' '} { openLinkInBrowser('https://notesnook.com/tos', colors) .catch((e) => {}) @@ -280,6 +286,7 @@ const InnerComponent = React.memo( and{' '} { openLinkInBrowser('https://notesnook.com/privacy', colors) .catch((e) => {})