feat(mobile): MIKRO STARS-3 byt mot Toppval-tagg på första förslaget

This commit is contained in:
Sven (AAMOS AI)
2026-08-17 20:13:54 +07:00
parent 343a18393a
commit 9473329708
+3 -5
View File
@@ -147,11 +147,9 @@ export default function WhatToEatScreen() {
{shownRecs.map((rec, index) => ( {shownRecs.map((rec, index) => (
<Card key={rec.recipeId} onPress={() => router.push(`/recipe/${rec.recipeId}`)}> <Card key={rec.recipeId} onPress={() => router.push(`/recipe/${rec.recipeId}`)}>
<Row style={{ justifyContent: "space-between" }}> <Row style={{ justifyContent: "space-between", alignItems: "center" }}>
<Heading> <Heading>{rec.titleSv}</Heading>
{index === 0 ? "⭐ " : ""} {index === 0 && <Tag label="Toppval" tone="accent" />}
{rec.titleSv}
</Heading>
</Row> </Row>
<Row> <Row>
{rec.ratingCount > 0 && rec.ratingAverage != null && ( {rec.ratingCount > 0 && rec.ratingAverage != null && (