diff --git a/app/(tabs)/index.tsx b/app/(tabs)/index.tsx index fd30111..904489e 100644 --- a/app/(tabs)/index.tsx +++ b/app/(tabs)/index.tsx @@ -105,10 +105,57 @@ export default function HomeScreen() { - Error: {error?.message || String(error)} + + ⚠️ + + Fehler beim Laden + + + {error?.message || "Ein unerwarteter Fehler ist aufgetreten."} + + + { + if (typeof refetchShows === "function") refetchShows(); + if (typeof refetchServices === "function") refetchServices(); + }} + style={{ + marginTop: 6, + backgroundColor: "rgba(255,255,255,0.15)", + paddingVertical: 10, + paddingHorizontal: 18, + borderRadius: 8, + }} + > + Erneut versuchen + + ); } @@ -125,7 +172,7 @@ export default function HomeScreen() { style={{ position: "absolute", left: 16, - top: "50%", + top: "63%", transform: [{ translateY: -12 }], height: 40, width: 40,