diff --git a/apps/mobile/src/app/cooking/[id].tsx b/apps/mobile/src/app/cooking/[id].tsx index 1d10136..b7dd77e 100644 --- a/apps/mobile/src/app/cooking/[id].tsx +++ b/apps/mobile/src/app/cooking/[id].tsx @@ -29,6 +29,7 @@ import { formatQuantity } from "@/lib/units"; interface RecipeForCooking { id: string; titleSv: string; + title?: string; portions: number; steps: Array<{ id: string; @@ -42,6 +43,7 @@ interface RecipeForCooking { ingredients: Array<{ id: string; displayNameSv: string; + displayName?: string; quantity: number; unit: string; optional: boolean; @@ -110,7 +112,7 @@ export default function CookingScreen() { ✅ {t("cooked.title")} - {recipe.titleSv} + {recipe.title ?? recipe.titleSv} {t("cooked.portionsCooked")}: {portionsCooked} @@ -140,7 +142,7 @@ export default function CookingScreen() { {t("cooked.title")} - {recipe.titleSv} + {recipe.title ?? recipe.titleSv} {t("cooked.portionsCooked")}: {portionsCooked} @@ -242,7 +244,7 @@ export default function CookingScreen() {