mirror of
https://github.com/tapframe/NuvioStreaming.git
synced 2026-03-11 17:45:38 +00:00
trailer section ui changes
This commit is contained in:
parent
41ba4ac12c
commit
76b28d2a2c
2 changed files with 9 additions and 7 deletions
3
app.json
3
app.json
|
|
@ -46,7 +46,8 @@
|
|||
"icon": "./assets/android/mipmap-xxxhdpi/ic_launcher.png",
|
||||
"permissions": [
|
||||
"INTERNET",
|
||||
"WAKE_LOCK"
|
||||
"WAKE_LOCK",
|
||||
"WRITE_SETTINGS"
|
||||
],
|
||||
"package": "com.nuvio.app",
|
||||
"versionCode": 22,
|
||||
|
|
|
|||
|
|
@ -107,13 +107,13 @@ const TrailersSection: React.FC<TrailersSectionProps> = memo(({
|
|||
const trailerCardWidth = useMemo(() => {
|
||||
switch (deviceType) {
|
||||
case 'tv':
|
||||
return 240;
|
||||
return 280;
|
||||
case 'largeTablet':
|
||||
return 220;
|
||||
return 260;
|
||||
case 'tablet':
|
||||
return 200;
|
||||
return 240;
|
||||
default:
|
||||
return 170; // phone
|
||||
return 200; // phone
|
||||
}
|
||||
}, [deviceType]);
|
||||
|
||||
|
|
@ -695,8 +695,8 @@ const TrailersSection: React.FC<TrailersSectionProps> = memo(({
|
|||
color: currentTheme.colors.highEmphasis,
|
||||
fontSize: isTV ? 16 : isLargeTablet ? 15 : isTablet ? 14 : 12,
|
||||
lineHeight: isTV ? 22 : isLargeTablet ? 20 : isTablet ? 18 : 16,
|
||||
marginTop: isTV ? 10 : isLargeTablet ? 9 : isTablet ? 8 : 8,
|
||||
marginBottom: isTV ? 4 : isLargeTablet ? 3 : isTablet ? 2 : 2
|
||||
marginTop: isTV ? 16 : isLargeTablet ? 14 : isTablet ? 12 : 10,
|
||||
marginBottom: isTV ? 6 : isLargeTablet ? 5 : isTablet ? 4 : 3
|
||||
}
|
||||
]}
|
||||
numberOfLines={2}
|
||||
|
|
@ -931,6 +931,7 @@ const styles = StyleSheet.create({
|
|||
trailerInfoBelow: {
|
||||
width: '100%',
|
||||
alignItems: 'flex-start',
|
||||
paddingLeft: 4,
|
||||
},
|
||||
trailerTitle: {
|
||||
fontSize: 12,
|
||||
|
|
|
|||
Loading…
Reference in a new issue