diff --git a/frontend-admin/src/components/ui/Modal.tsx b/frontend-admin/src/components/ui/Modal.tsx
index 2687f4cc..de13de14 100644
--- a/frontend-admin/src/components/ui/Modal.tsx
+++ b/frontend-admin/src/components/ui/Modal.tsx
@@ -3,10 +3,12 @@ import {
Modal as RNModal,
View,
ScrollView,
+ KeyboardAvoidingView,
TouchableOpacity,
Text,
StyleSheet,
Animated,
+ Platform,
} from "react-native";
import { Ionicons } from "@expo/vector-icons";
import { spacing, borderRadius, fontSize } from "../../theme";
@@ -133,6 +135,10 @@ export default function Modal({
animationType="fade"
onRequestClose={onClose}
>
+
+
);
}
diff --git a/frontend-admin/src/screens/admin/UsersScreen.tsx b/frontend-admin/src/screens/admin/UsersScreen.tsx
index ebb40e15..0b5a2131 100644
--- a/frontend-admin/src/screens/admin/UsersScreen.tsx
+++ b/frontend-admin/src/screens/admin/UsersScreen.tsx
@@ -974,9 +974,9 @@ export default function UsersScreen() {
{ color: colors.warning },
]}
>
- {item.clientData.amende}
+ {item.clientData.amende} €
- Amendes
+ Amende
)}
@@ -1456,16 +1456,16 @@ export default function UsersScreen() {
Amende actuelle
- {sanctionModal.client?.amende ?? 0} pts
+ {sanctionModal.client?.amende ?? 0} €
{/* Ajouter amende */}
}
/>
- {item.amende}
+ {item.amende} €
- Amendes
+ Amende
)}
diff --git a/mobile/src/components/ui/Modal.tsx b/mobile/src/components/ui/Modal.tsx
index 27c5365d..f0abc142 100644
--- a/mobile/src/components/ui/Modal.tsx
+++ b/mobile/src/components/ui/Modal.tsx
@@ -2,10 +2,13 @@ import React, { type ReactNode, useEffect, useRef } from "react";
import {
Modal as RNModal,
View,
+ ScrollView,
+ KeyboardAvoidingView,
TouchableOpacity,
Text,
StyleSheet,
Animated,
+ Platform,
} from "react-native";
import { Ionicons } from "@expo/vector-icons";
import { spacing, borderRadius, fontSize } from "../../theme";
@@ -60,74 +63,86 @@ export default function Modal({
animationType="fade"
onRequestClose={onClose}
>
-
-
-
+
+
-
-
- {icon && (
-
-
-
- )}
- {title && (
-
- {title}
-
- )}
-
-
+
+
+
+ {icon && (
+
+
+
+ )}
+ {title && (
+
+ {title}
+
+ )}
+
+
+
+
+
+
-
-
-
- {children}
-
-
+ {children}
+
+
+
+
);
}
@@ -190,6 +205,5 @@ const styles = StyleSheet.create({
},
body: {
paddingHorizontal: spacing.xl,
- paddingBottom: spacing.xl,
},
});
diff --git a/mobile/src/screens/client/OrderHistoryScreen.tsx b/mobile/src/screens/client/OrderHistoryScreen.tsx
index c44e8be3..0d4f0179 100644
--- a/mobile/src/screens/client/OrderHistoryScreen.tsx
+++ b/mobile/src/screens/client/OrderHistoryScreen.tsx
@@ -333,10 +333,10 @@ export default function OrderHistoryScreen() {
penaltyCount > 0 && penaltyCount < 3 && { color: colors.warning },
]}
>
- {penaltyCount}
+ {penaltyCount} €
- Score amendes
+ Amende
)}