From 976b6393d5d2be18e7b70447ef49f8d1b801b835 Mon Sep 17 00:00:00 2001
From: Shravya Ramesh <shravs1208@gmail.com>
Date: Mon, 29 Mar 2021 18:18:00 -0700
Subject: continued

---
 src/components/common/TaggPrompt.tsx | 12 +++++++-----
 1 file changed, 7 insertions(+), 5 deletions(-)

(limited to 'src/components/common/TaggPrompt.tsx')

diff --git a/src/components/common/TaggPrompt.tsx b/src/components/common/TaggPrompt.tsx
index 6169b3f1..721b1eb8 100644
--- a/src/components/common/TaggPrompt.tsx
+++ b/src/components/common/TaggPrompt.tsx
@@ -2,12 +2,12 @@ import * as React from 'react';
 import {StyleSheet, Text, TouchableOpacity} from 'react-native';
 import {Image, View} from 'react-native-animatable';
 import CloseIcon from '../../assets/ionicons/close-outline.svg';
-import {normalize, SCREEN_HEIGHT} from '../../utils';
+import {isIPhoneX, normalize, SCREEN_HEIGHT} from '../../utils';
 
 type TaggPromptProps = {
   messageHeader: string;
   messageBody: string | Element;
-  logoType: 'plus' | 'tagg' | 'invite_friends';
+  logoType: 'plus' | 'tagg' | 'invite_friends' | 'private_accounts';
   hideCloseButton?: boolean;
   noPadding?: boolean;
   onClose: () => void;
@@ -28,9 +28,11 @@ const TaggPrompt: React.FC<TaggPromptProps> = ({
   const logo = () => {
     switch (logoType) {
       case 'plus':
-        return require('../../assets/icons/plus-logo.png');
+        return require('../../assets/icons/notificationPrompts/plus-logo.png');
       case 'invite_friends':
-        return require('../../assets/icons/invite-friends-prompt-icon.png');
+        return require('../../assets/icons/notificationPrompts/invite-friends-prompt-icon.png');
+      case 'private_accounts':
+        return require('../../assets/icons/notificationPrompts/private-accounts-prompt-icon.png');
       case 'tagg':
       default:
         return require('../../assets/images/logo-purple.png');
@@ -66,7 +68,7 @@ const styles = StyleSheet.create({
     justifyContent: 'center',
     alignItems: 'center',
     backgroundColor: 'white',
-    height: SCREEN_HEIGHT / 4,
+    height: isIPhoneX() ? SCREEN_HEIGHT / 6 : SCREEN_HEIGHT / 5,
   },
   closeButton: {
     position: 'relative',
-- 
cgit v1.2.3-70-g09d2

