minor UI changes

This commit is contained in:
tapframe 2025-09-01 17:58:42 +05:30
parent 5c7ac3dcae
commit c1bae1d7f3
2 changed files with 3 additions and 21 deletions

View file

@ -457,12 +457,7 @@ export const SeriesContent: React.FC<SeriesContentProps> = ({
{ backgroundColor: currentTheme.colors.primary }
]} />
)}
{/* Show episode count badge, including when there are no episodes */}
<View style={[styles.episodeCountBadge, { backgroundColor: currentTheme.colors.elevation2 }]}>
<Text style={[styles.episodeCountText, { color: currentTheme.colors.textMuted }]}>
{seasonEpisodes.length} ep{seasonEpisodes.length !== 1 ? 's' : ''}
</Text>
</View>
</View>
<Text
style={[
@ -1417,18 +1412,5 @@ const styles = StyleSheet.create({
selectedSeasonTextButtonTextTablet: {
fontWeight: '800',
},
episodeCountBadge: {
position: 'absolute',
top: 8,
right: 8,
backgroundColor: 'rgba(0,0,0,0.8)',
paddingHorizontal: 4,
paddingVertical: 2,
borderRadius: 4,
},
episodeCountText: {
color: '#fff',
fontSize: 12,
fontWeight: '600',
},
});

View file

@ -921,7 +921,7 @@ const InnerNavigator = ({ initialRouteName }: { initialRouteName?: keyof RootSta
name="Player"
component={VideoPlayer as any}
options={{
animation: Platform.OS === 'android' ? 'none' : 'slide_from_right',
animation: Platform.OS === 'android' ? 'none' : 'default',
animationDuration: Platform.OS === 'android' ? 0 : 300,
// Force fullscreen presentation on iPad
presentation: Platform.OS === 'ios' ? 'fullScreenModal' : 'card',