diff options
author | Shravya Ramesh <shravs1208@gmail.com> | 2021-07-09 08:27:16 -0700 |
---|---|---|
committer | Shravya Ramesh <shravs1208@gmail.com> | 2021-07-09 08:27:16 -0700 |
commit | 8ddc908e549fd47ad096d9d621ddb2a2d6218a26 (patch) | |
tree | 8c5ae73479e93beb43ffcc9de32ecede3fd6b1e5 | |
parent | 083675eec3ff5b7122e43097fe565afb78beec46 (diff) |
Resize moment thumbnail on notifications
-rw-r--r-- | src/components/notifications/Notification.tsx | 11 |
1 files changed, 8 insertions, 3 deletions
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%', |