diff --git a/apps/mobile/src/app/(tabs)/index.tsx b/apps/mobile/src/app/(tabs)/index.tsx index 96af839..5312078 100644 --- a/apps/mobile/src/app/(tabs)/index.tsx +++ b/apps/mobile/src/app/(tabs)/index.tsx @@ -34,6 +34,8 @@ interface Recommendation { missingIngredients: string[]; usesExpiring: Array<{ nameSv: string; daysLeft: number | null }>; coveragePercent: number; + ratingAverage: number | null; + ratingCount: number; } interface MealBoxSuggestion { mealBoxId: string; @@ -152,6 +154,9 @@ export default function WhatToEatScreen() { + {rec.ratingCount > 0 && rec.ratingAverage != null && ( + + )} = 80 ? "success" : "neutral"}