fix(tvos): increase hero carousel top padding to clear menu bar

This commit is contained in:
Fredrik Burmester
2026-05-27 09:42:13 +02:00
parent f1c2b9de53
commit d56d202bfc

View File

@@ -379,7 +379,7 @@ export const TVHeroCarousel: React.FC<TVHeroCarouselProps> = ({
if (items.length === 0) return null;
// Extra top padding for tvOS to clear the menu bar
const tvosTopPadding = Platform.OS === "ios" ? scaleSize(30) : 0;
const tvosTopPadding = Platform.OS === "ios" ? scaleSize(110) : 0;
const heroHeight = SCREEN_HEIGHT * sizes.padding.heroHeight;
return (