aboutsummaryrefslogtreecommitdiffstats
path: root/components/Camera.js
diff options
context:
space:
mode:
authorMaksymilian Jopek <maks@jopek.eu>2023-03-28 18:46:35 +0200
committerMaksymilian Jopek <maks@jopek.eu>2023-03-28 18:46:35 +0200
commitd44a5a6c4530691a63204b2231f04e2bcf287907 (patch)
treef62bab936e94bd4f32f3bf1c0241df737bd8bcf4 /components/Camera.js
parent5cf454c6800d6bfe26e08c6b4393b82bff442b4d (diff)
downloadaparatus-d44a5a6c4530691a63204b2231f04e2bcf287907.tar.gz
aparatus-d44a5a6c4530691a63204b2231f04e2bcf287907.tar.zst
aparatus-d44a5a6c4530691a63204b2231f04e2bcf287907.zip
Upgrade app to sdk 46
Fix no `Alert` in Camera.js
Diffstat (limited to 'components/Camera.js')
-rw-r--r--components/Camera.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/components/Camera.js b/components/Camera.js
index 78d7ed0..185ae12 100644
--- a/components/Camera.js
+++ b/components/Camera.js
@@ -1,5 +1,5 @@
import * as React from 'react';
-import { View, Text, StyleSheet, TouchableOpacity, Image, ToastAndroid } from 'react-native';
+import { View, Text, StyleSheet, TouchableOpacity, Image, ToastAndroid, Alert } from 'react-native';
import * as MediaLibrary from "expo-media-library";
import * as ECamera from "expo-camera";
import * as ImagePicker from 'expo-image-picker';
@@ -234,4 +234,3 @@ const styles = StyleSheet.create({
// height: "100%",
},
})
-