This commit is contained in:
@@ -25,6 +25,7 @@ export default function ProductCard({ product, rating, onPress }) {
|
||||
{rating ? <ProductScoreBadge status={rating.overallStatus} score={rating.overallScore} /> : null}
|
||||
<Text style={styles.openLabel}>Details ansehen ›</Text>
|
||||
</View>
|
||||
{rating?.allergenReviewRequired ? <Text style={styles.allergenWarning}>Allergenangaben fehlen – Verpackung prüfen.</Text> : null}
|
||||
</Pressable>
|
||||
);
|
||||
}
|
||||
@@ -95,5 +96,6 @@ const styles = StyleSheet.create({
|
||||
marginTop: 8,
|
||||
paddingHorizontal: 8,
|
||||
paddingVertical: 4
|
||||
}
|
||||
},
|
||||
allergenWarning: { color: colors.danger, fontSize: 14, fontWeight: '800' }
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user