chore: update

This commit is contained in:
2026-05-19 18:54:36 +02:00
parent c71b596400
commit 929dea7249
6 changed files with 34 additions and 14 deletions
+4 -2
View File
@@ -218,13 +218,13 @@ export default function ProductCard({ product, onPress, categoryColor }: Product
style={[
styles.quickAddBtn,
{ backgroundColor: catColor },
isSoldOut && {
(isSoldOut || isComingSoon) && {
backgroundColor: colors.textMuted,
opacity: 0.6,
},
]}
onPress={handleQuickAdd}
disabled={isSoldOut}
disabled={isSoldOut || isComingSoon}
activeOpacity={0.7}
>
<Text
@@ -235,6 +235,8 @@ export default function ProductCard({ product, onPress, categoryColor }: Product
>
{isSoldOut
? "Rupture de stock"
: isComingSoon
? "Bientôt disponible"
: "Ajouter rapidement"}
</Text>
</TouchableOpacity>