From ecd44e517cbb978c0a590a5861cb2cd357d0fc11 Mon Sep 17 00:00:00 2001
From: Leon Jiang <35908040+leonyjiang@users.noreply.github.com>
Date: Thu, 1 Apr 2021 14:19:17 -0400
Subject: Add chat to navigation

---
 src/components/common/NavigationIcon.tsx | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

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

diff --git a/src/components/common/NavigationIcon.tsx b/src/components/common/NavigationIcon.tsx
index 1a9934f2..5128f3da 100644
--- a/src/components/common/NavigationIcon.tsx
+++ b/src/components/common/NavigationIcon.tsx
@@ -14,7 +14,8 @@ interface NavigationIconProps extends TouchableOpacityProps {
     | 'Upload'
     | 'Notifications'
     | 'Profile'
-    | 'SuggestedPeople';
+    | 'SuggestedPeople'
+    | 'Chat';
   disabled?: boolean;
   newIcon?: boolean;
 }
@@ -44,6 +45,13 @@ const NavigationIcon = (props: NavigationIconProps) => {
           : require('../../assets/navigationIcons/notifications.png')
         : require('../../assets/navigationIcons/notifications-clicked.png');
       break;
+    case 'Chat':
+      imgSrc = props.disabled
+        ? props.newIcon
+          ? require('../../assets/navigationIcons/chat-notifications.png')
+          : require('../../assets/navigationIcons/chat.png')
+        : require('../../assets/navigationIcons/chat-clicked.png');
+      break;
     case 'Profile':
       imgSrc = props.disabled
         ? require('../../assets/navigationIcons/profile.png')
-- 
cgit v1.2.3-70-g09d2

