aboutsummaryrefslogtreecommitdiffstats
path: root/components
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
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')
-rw-r--r--components/Camera.js3
-rw-r--r--components/PhotoBig.js1
-rw-r--r--components/Settings.js2
3 files changed, 1 insertions, 5 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%",
},
})
-
diff --git a/components/PhotoBig.js b/components/PhotoBig.js
index 8f26b62..a1ad679 100644
--- a/components/PhotoBig.js
+++ b/components/PhotoBig.js
@@ -101,4 +101,3 @@ const styles = StyleSheet.create({
marginLeft: w / 15,
},
})
-
diff --git a/components/Settings.js b/components/Settings.js
index 813b7c5..976cb0a 100644
--- a/components/Settings.js
+++ b/components/Settings.js
@@ -79,5 +79,3 @@ const styles = StyleSheet.create({
fontSize: 22,
},
})
-
-