diff options
author | Ivan Chen <ivan@tagg.id> | 2021-07-09 18:09:37 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-09 18:09:37 -0400 |
commit | 70a9fbcd9aab15be060694fc751cda5f26a81e11 (patch) | |
tree | 1a4b3c99cca69157a1dd44aab7d006fe9eb20250 /src/components/notifications/Notification.tsx | |
parent | 3855de87f35d630495ad74d531459e4c873a4858 (diff) | |
parent | 8ddc908e549fd47ad096d9d621ddb2a2d6218a26 (diff) |
Merge pull request #499 from shravyaramesh/tma961-thumbnail-size-notifications
[TMA-961] Resize moment thumbnail on notifications
Diffstat (limited to 'src/components/notifications/Notification.tsx')
-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%', |