mirror of
https://github.com/tapframe/NuvioStreaming.git
synced 2026-04-21 00:32:04 +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 }
|
{ 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>
|
</View>
|
||||||
<Text
|
<Text
|
||||||
style={[
|
style={[
|
||||||
|
|
@ -1417,18 +1412,5 @@ const styles = StyleSheet.create({
|
||||||
selectedSeasonTextButtonTextTablet: {
|
selectedSeasonTextButtonTextTablet: {
|
||||||
fontWeight: '800',
|
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"
|
name="Player"
|
||||||
component={VideoPlayer as any}
|
component={VideoPlayer as any}
|
||||||
options={{
|
options={{
|
||||||
animation: Platform.OS === 'android' ? 'none' : 'slide_from_right',
|
animation: Platform.OS === 'android' ? 'none' : 'default',
|
||||||
animationDuration: Platform.OS === 'android' ? 0 : 300,
|
animationDuration: Platform.OS === 'android' ? 0 : 300,
|
||||||
// Force fullscreen presentation on iPad
|
// Force fullscreen presentation on iPad
|
||||||
presentation: Platform.OS === 'ios' ? 'fullScreenModal' : 'card',
|
presentation: Platform.OS === 'ios' ? 'fullScreenModal' : 'card',
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue