From 8ddc908e549fd47ad096d9d621ddb2a2d6218a26 Mon Sep 17 00:00:00 2001
From: Shravya Ramesh <shravs1208@gmail.com>
Date: Fri, 9 Jul 2021 08:27:16 -0700
Subject: Resize moment thumbnail on notifications

---
 src/components/notifications/Notification.tsx | 11 ++++++++---
 1 file changed, 8 insertions(+), 3 deletions(-)

(limited to 'src/components/notifications/Notification.tsx')

diff --git a/src/components/notifications/Notification.tsx b/src/components/notifications/Notification.tsx
index fd1b11ac..946f2164 100644
--- a/src/components/notifications/Notification.tsx
+++ b/src/components/notifications/Notification.tsx
@@ -314,7 +314,11 @@ const Notification: React.FC<NotificationProps> = (props) => {
           <TouchableWithoutFeedback
             style={styles.moment}
             onPress={onNotificationTap}>
-            <Image style={styles.imageFlex} source={{uri: momentURI}} />
+            <Image
+              style={styles.imageFlex}
+              source={{uri: momentURI}}
+              resizeMode={'contain'}
+            />
           </TouchableWithoutFeedback>
         )}
     </View>
@@ -357,8 +361,9 @@ const styles = StyleSheet.create({
     lineHeight: normalize(14.32),
   },
   moment: {
-    height: normalize(42),
-    width: normalize(42),
+    height: normalize(72),
+    width: normalize(40),
+    backgroundColor: 'black',
   },
   buttonsContainer: {
     height: '80%',
-- 
cgit v1.2.3-70-g09d2

