diff --git a/src/navigation/AppNavigator.tsx b/src/navigation/AppNavigator.tsx index 551410e..592f2b9 100644 --- a/src/navigation/AppNavigator.tsx +++ b/src/navigation/AppNavigator.tsx @@ -651,12 +651,12 @@ const AppNavigator = () => { options={{ animation: 'fade', animationDuration: 200, - presentation: 'card', + ...(Platform.OS === 'ios' && { presentation: 'modal' }), gestureEnabled: true, gestureDirection: 'horizontal', headerShown: false, contentStyle: { - backgroundColor: colors.darkBackground, + backgroundColor: 'transparent', }, }} /> diff --git a/src/screens/ShowRatingsScreen.tsx b/src/screens/ShowRatingsScreen.tsx index 011fae7..04e8e1b 100644 --- a/src/screens/ShowRatingsScreen.tsx +++ b/src/screens/ShowRatingsScreen.tsx @@ -11,6 +11,7 @@ import { StatusBar, } from 'react-native'; import { Image } from 'expo-image'; +import { BlurView } from 'expo-blur'; import { colors } from '../styles'; import { TMDBService, TMDBShow as Show, TMDBSeason, TMDBEpisode } from '../services/tmdbService'; import { RouteProp } from '@react-navigation/native'; @@ -367,7 +368,14 @@ const ShowRatingsScreen = ({ route }: Props) => { } return ( - + + {Platform.OS === 'ios' && ( + + )} { const styles = StyleSheet.create({ container: { flex: 1, - backgroundColor: colors.black, }, scrollView: { flex: 1, @@ -548,7 +555,7 @@ const styles = StyleSheet.create({ showInfo: { flexDirection: 'row', marginBottom: 12, - backgroundColor: colors.darkBackground, + backgroundColor: Platform.OS === 'ios' ? 'transparent' : colors.darkBackground, borderRadius: 8, padding: 8, }, @@ -641,7 +648,7 @@ const styles = StyleSheet.create({ lineHeight: 16, }, legend: { - backgroundColor: colors.darkBackground, + backgroundColor: Platform.OS === 'ios' ? 'transparent' : colors.darkBackground, borderRadius: 8, padding: 8, marginBottom: 12, @@ -693,7 +700,7 @@ const styles = StyleSheet.create({ flex: 1, }, ratingsGrid: { - backgroundColor: colors.darkBackground, + backgroundColor: Platform.OS === 'ios' ? 'transparent' : colors.darkBackground, borderRadius: 8, padding: 8, },