aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/screens/moments/CameraScreen.tsx6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/screens/moments/CameraScreen.tsx b/src/screens/moments/CameraScreen.tsx
index b14e1dfe..c3ecdb14 100644
--- a/src/screens/moments/CameraScreen.tsx
+++ b/src/screens/moments/CameraScreen.tsx
@@ -31,7 +31,7 @@ const CameraScreen: React.FC<CameraScreenProps> = ({route, navigation}) => {
const [flashMode, setFlashMode] = useState<keyof FlashMode>('off');
const [mostRecentPhoto, setMostRecentPhoto] = useState<string>('');
const [isRecording, setIsRecording] = useState<boolean>(false);
- const [pictureProcessing, setpictureProcessing] = useState<boolean>(false);
+ const [pictureProcessing, setPictureProcessing] = useState<boolean>(false);
const [mounted, setMounted] = useState<boolean>(false);
useFocusEffect(
@@ -41,7 +41,7 @@ const CameraScreen: React.FC<CameraScreenProps> = ({route, navigation}) => {
});
// reset in case we have returned to this screen
- setpictureProcessing(false);
+ setPictureProcessing(false);
// in case the preview image gets stuck
if (mounted) {
@@ -158,7 +158,7 @@ const CameraScreen: React.FC<CameraScreenProps> = ({route, navigation}) => {
}}
onPress={() => {
if (!pictureProcessing) {
- setpictureProcessing(true);
+ setPictureProcessing(true);
}
takePicture(cameraRef, (pic) => navigateToEditMedia(pic.uri));
}}>