chore: build
Frontend Admin - EAS Build / build (push) Successful in 1h50m48s

This commit is contained in:
Xor290
2026-08-26 14:18:33 +02:00
parent 62b4ac1866
commit 6c88ec0cc7
2 changed files with 11 additions and 4 deletions
+1 -1
View File
@@ -2,7 +2,7 @@
"expo": { "expo": {
"name": "Admin Panel", "name": "Admin Panel",
"slug": "frontend-admin", "slug": "frontend-admin",
"version": "1.0.1", "version": "1.0.2",
"orientation": "portrait", "orientation": "portrait",
"icon": "./assets/icon.png", "icon": "./assets/icon.png",
"userInterfaceStyle": "dark", "userInterfaceStyle": "dark",
@@ -501,7 +501,14 @@ export default function DeliveryScreen() {
borderTopLeftRadius: borderRadius.xl, borderTopLeftRadius: borderRadius.xl,
borderTopRightRadius: borderRadius.xl, borderTopRightRadius: borderRadius.xl,
padding: spacing.l, padding: spacing.l,
maxHeight: "80%", // maxHeight en pourcentage ne se résout pas de façon fiable
// ici : le parent direct est un Pressable sans style (donc
// sans hauteur définie), et un pourcentage a besoin d'un
// ancêtre à hauteur définie pour se calculer. Une valeur
// en pixels dérivée de screenHeight fonctionne toujours.
maxHeight: screenHeight * 0.8,
flexShrink: 1,
overflow: "hidden",
}, },
ratingsHeader: { ratingsHeader: {
flexDirection: "row", flexDirection: "row",
@@ -1107,7 +1114,7 @@ export default function DeliveryScreen() {
({ratingsModal.count} avis) ({ratingsModal.count} avis)
</Text> </Text>
</View> </View>
<ScrollView showsVerticalScrollIndicator={false}> <ScrollView style={{ flex: 1 }} showsVerticalScrollIndicator={false}>
{ratingsModal.ratings.map((r) => ( {ratingsModal.ratings.map((r) => (
<View key={r.id} style={styles.ratingItem}> <View key={r.id} style={styles.ratingItem}>
<View style={styles.ratingItemHeader}> <View style={styles.ratingItemHeader}>
@@ -1258,7 +1265,7 @@ export default function DeliveryScreen() {
</Text> </Text>
) : loginHistoryModal && ) : loginHistoryModal &&
loginHistoryModal.weeks.length > 0 ? ( loginHistoryModal.weeks.length > 0 ? (
<ScrollView showsVerticalScrollIndicator={false}> <ScrollView style={{ flex: 1 }} showsVerticalScrollIndicator={false}>
{loginHistoryModal.weeks.map((week) => ( {loginHistoryModal.weeks.map((week) => (
<View key={week.week}> <View key={week.week}>
<Text style={styles.historyWeekLabel}> <Text style={styles.historyWeekLabel}>