Pobieranie i wysyłanie zdjęć i GPS

This commit is contained in:
2025-05-23 19:36:51 +02:00
parent 0ee2b8d702
commit f22de8150d
6 changed files with 254 additions and 179 deletions

View File

@@ -28,7 +28,7 @@ export default function Location() {
}
return (
<View style={styles.container}>
<View style={[styles.container, {backgroundColor: theme.colors.background}]}>
<ScrollView>
<Card style={{ margin: 10 }}>
<Card.Cover
@@ -55,6 +55,9 @@ export default function Location() {
<Text variant="bodyMedium" style={{ marginBottom: 10 }}>
Ludność: {location.population} osób
</Text>
<Text variant="bodyMedium" style={{ marginBottom: 10 }}>
Współrzedne geograficzne: {location.latitude}, {location.longitude}
</Text>
</Card.Content>
</Card>
</ScrollView>
@@ -67,7 +70,6 @@ const styles = StyleSheet.create({
flex: 1,
backgroundColor: "#25292e",
justifyContent: "center",
alignItems: "center",
},
text: {
color: "#fff",