chore: lint

This commit is contained in:
devthejo 2025-09-26 12:29:45 +02:00
parent 8ae3a7a9f8
commit d5011fbaea
No known key found for this signature in database
GPG key ID: 00CCA7A92B1D5351
3 changed files with 11 additions and 3 deletions

View file

@ -53,7 +53,11 @@ export default function NotificationsButton({ flex = 1 }) {
<View style={{ flex }}>
<TouchableOpacity
style={styles.button}
accessibilityLabel={hasNewNotifications ? `Notifications - ${newCount} nouvelles notifications` : "Notifications"}
accessibilityLabel={
hasNewNotifications
? `Notifications - ${newCount} nouvelles notifications`
: "Notifications"
}
accessibilityRole="button"
onPress={() => navigation.navigate("Notifications")}
>

View file

@ -4,7 +4,11 @@ import { IconButton } from "react-native-paper";
import { MaterialCommunityIcons } from "@expo/vector-icons";
import { createStyles } from "~/theme";
export default function RadarButton({ onPress, isLoading = false, flex = 0.22 }) {
export default function RadarButton({
onPress,
isLoading = false,
flex = 0.22,
}) {
const styles = useStyles();
return (

View file

@ -18,4 +18,4 @@ const useStyles = createStyles(({ wp, hp }) => ({
gap: wp(3), // Slightly more space between the buttons
minHeight: 48, // Minimum touch target height for accessibility
},
}));
}));