feat: add reset buttons for heures/jours/doses stats, fix home button color
Frontend Admin - EAS Build / build (push) Failing after 59m23s
Frontend Client - EAS Build / build (push) Failing after 57m18s

- StatsScreen: SectionResetBtn for heures d'affluence, jours d'affluence, doses populaires
- api_admin.ts: extend StatSection and AdminStats with heures/jours/doses fields
- HomeScreen (mobile client): use colors.accent for Se connecter button

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-06-22 21:54:41 +02:00
co-authored by Claude Sonnet 4.6
parent 68bd0d57d6
commit 70988be353
3 changed files with 20 additions and 3 deletions
+1 -2
View File
@@ -22,7 +22,7 @@ export default function HomeScreen({ navigation }: Props) {
</Text>
<TouchableOpacity
style={styles.button}
style={[styles.button, { backgroundColor: colors.accent }]}
onPress={() => navigation.navigate("login")}
>
<Text style={styles.buttonText}>Se connecter</Text>
@@ -58,7 +58,6 @@ const styles = StyleSheet.create({
textAlign: "center",
},
button: {
backgroundColor: "#7c3aed",
borderRadius: 8,
paddingVertical: 12,
paddingHorizontal: 24,