Wysyłanie zdjęć na backend i ich odbieranie

This commit is contained in:
2025-05-23 15:13:31 +02:00
parent c6fbbe9222
commit 0ee2b8d702
4 changed files with 258 additions and 163 deletions

View File

@@ -1,4 +1,4 @@
import { View, ScrollView, StyleSheet, ActivityIndicator } from "react-native";
import { View, ScrollView, StyleSheet } from "react-native";
import { useEffect } from "react";
import { useTheme, Text, Card } from "react-native-paper";
import { useLocalSearchParams } from "expo-router";
@@ -33,7 +33,7 @@ export default function Location() {
<Card style={{ margin: 10 }}>
<Card.Cover
style={{ marginBottom: 10 }}
source={{ uri: location.image }}
source={location.imageSource}
/>
<Card.Content style={{ marginBottom: 10 }}>
<Text variant="headlineLarge" style={{ marginBottom: 10 }}>