chore: add button for deliverymen

This commit is contained in:
2026-05-17 16:09:15 +02:00
parent a8696b12fa
commit cf686ffa51
@@ -839,9 +839,14 @@ export default function DashboardScreen() {
style={{ flex: 1, backgroundColor: colors.danger }} style={{ flex: 1, backgroundColor: colors.danger }}
/> />
</View> </View>
<Button
title="Client pas là"
onPress={() => handleClientAbsent(item.id)}
style={{ backgroundColor: colors.warning }}
/>
{showAbsent ? ( {showAbsent ? (
<Button <Button
title="Client absent" title="Client absent (5 min écoulées)"
onPress={() => handleClientAbsent(item.id)} onPress={() => handleClientAbsent(item.id)}
style={{ backgroundColor: colors.danger }} style={{ backgroundColor: colors.danger }}
/> />