aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/components/notifications/Notification.tsx11
-rw-r--r--src/screens/moments/CameraScreen.tsx3
2 files changed, 11 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%',
diff --git a/src/screens/moments/CameraScreen.tsx b/src/screens/moments/CameraScreen.tsx
index 5f9412fb..2282ecad 100644
--- a/src/screens/moments/CameraScreen.tsx
+++ b/src/screens/moments/CameraScreen.tsx
@@ -113,6 +113,9 @@ const CameraScreen: React.FC<CameraScreenProps> = ({route, navigation}) => {
style={styles.camera}
type={cameraType}
flashMode={flashMode}
+ onDoubleTap={() => {
+ setCameraType(cameraType === 'front' ? 'back' : 'front');
+ }}
/>
<View style={[styles.bottomContainer, {bottom: tabBarHeight}]}>
{showSaveButton ? (