From 5a47140b76958b43cca5bfaba4a8369b1b12d555 Mon Sep 17 00:00:00 2001 From: "Sven (AAMOS AI)" Date: Mon, 17 Aug 2026 19:54:38 +0700 Subject: [PATCH] =?UTF-8?q?feat(mobile):=20MIKRO=20STARS-2=20visa=20snittb?= =?UTF-8?q?etyg=20p=C3=A5=20Vad=20ska=20vi=20=C3=A4ta-korten?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/mobile/src/app/(tabs)/index.tsx | 5 +++++ 1 file changed, 5 insertions(+) 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"}