mirror of
https://github.com/tapframe/NuvioStreaming.git
synced 2026-03-11 17:45:38 +00:00
minor UI changes
This commit is contained in:
parent
5c7ac3dcae
commit
c1bae1d7f3
2 changed files with 3 additions and 21 deletions
|
|
@ -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',
|
||||
},
|
||||
|
||||
});
|
||||
|
|
@ -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',
|
||||
|
|
|
|||
Loading…
Reference in a new issue