diff --git a/app/(auth)/(tabs)/(libraries)/_layout.tsx b/app/(auth)/(tabs)/(libraries)/_layout.tsx index 89a3e847..8c7fb259 100644 --- a/app/(auth)/(tabs)/(libraries)/_layout.tsx +++ b/app/(auth)/(tabs)/(libraries)/_layout.tsx @@ -24,7 +24,7 @@ export default function IndexLayout() { headerShown: !Platform.isTV, headerTitle: t("tabs.library"), headerBlurEffect: "none", - headerTransparent: true, + headerTransparent: Platform.OS === "ios", headerShadowVisible: false, headerRight: () => !pluginSettings?.libraryOptions?.locked && @@ -48,7 +48,7 @@ export default function IndexLayout() { title: "", headerShown: !Platform.isTV, headerBlurEffect: "none", - headerTransparent: true, + headerTransparent: Platform.OS === "ios", headerShadowVisible: false, }} /> @@ -61,7 +61,7 @@ export default function IndexLayout() { title: "", headerShown: !Platform.isTV, headerBlurEffect: "none", - headerTransparent: true, + headerTransparent: Platform.OS === "ios", headerShadowVisible: false, }} /> diff --git a/components/stacks/NestedTabPageStack.tsx b/components/stacks/NestedTabPageStack.tsx index ec4ba1e8..87f92db6 100644 --- a/components/stacks/NestedTabPageStack.tsx +++ b/components/stacks/NestedTabPageStack.tsx @@ -1,5 +1,6 @@ import type { ParamListBase, RouteProp } from "@react-navigation/native"; import type { NativeStackNavigationOptions } from "@react-navigation/native-stack"; +import { Platform } from "react-native"; import { HeaderBackButton } from "../common/HeaderBackButton"; type ICommonScreenOptions = @@ -12,7 +13,7 @@ type ICommonScreenOptions = export const commonScreenOptions: ICommonScreenOptions = { title: "", headerShown: true, - headerTransparent: true, + headerTransparent: Platform.OS === "ios", headerShadowVisible: false, headerBlurEffect: "none", headerLeft: () => ,