Save current app progress

This commit is contained in:
2026-05-28 22:55:43 +01:00
parent 134789cee1
commit d85e327c07
5 changed files with 481 additions and 414 deletions

View File

@@ -176,7 +176,15 @@ export default function HomeScreen({ navigation }: Props) {
{loading ? (
<ActivityIndicator size="large" color={colors.primary} style={{ marginTop: 40 }} />
) : trips.length > 0 ? (
trips.map(trip => <TripCard key={trip.id} trip={trip} />)
trips.map(trip => (
<TouchableOpacity
key={trip.id}
activeOpacity={0.9}
onPress={() => navigation.navigate('TripDetails', { trip })}
>
<TripCard trip={trip} />
</TouchableOpacity>
))
) : (
<View style={styles.promptCard}>
<Text style={styles.promptTitle}>Pronto para a próxima?</Text>