mirror of
https://github.com/tapframe/NuvioStreaming.git
synced 2026-04-20 16:22:04 +00:00
UI changes - removed VIA [provider] from player loading overlay
This commit is contained in:
parent
0a840b1cb0
commit
25988bdb7b
3 changed files with 7 additions and 35 deletions
|
|
@ -513,7 +513,7 @@ export const CommentsSection: React.FC<CommentsSectionProps> = ({
|
||||||
<ScrollView horizontal showsHorizontalScrollIndicator={false} contentContainerStyle={styles.horizontalList}>
|
<ScrollView horizontal showsHorizontalScrollIndicator={false} contentContainerStyle={styles.horizontalList}>
|
||||||
{placeholders.map((i) => (
|
{placeholders.map((i) => (
|
||||||
<View key={`skeleton-${i}`} style={[styles.compactCard, { backgroundColor: currentTheme.colors.card, borderColor: currentTheme.colors.border }]}>
|
<View key={`skeleton-${i}`} style={[styles.compactCard, { backgroundColor: currentTheme.colors.card, borderColor: currentTheme.colors.border }]}>
|
||||||
<View style={styles.traktIconContainer}>
|
<View style={styles.skeletonTraktContainer}>
|
||||||
<View style={[styles.skeletonDot]} />
|
<View style={[styles.skeletonDot]} />
|
||||||
</View>
|
</View>
|
||||||
|
|
||||||
|
|
@ -895,6 +895,12 @@ const styles = StyleSheet.create({
|
||||||
marginLeft: 6,
|
marginLeft: 6,
|
||||||
},
|
},
|
||||||
traktIconContainer: {
|
traktIconContainer: {
|
||||||
|
position: 'absolute',
|
||||||
|
top: 0,
|
||||||
|
right: 0,
|
||||||
|
zIndex: 1,
|
||||||
|
},
|
||||||
|
skeletonTraktContainer: {
|
||||||
position: 'absolute',
|
position: 'absolute',
|
||||||
top: 8,
|
top: 8,
|
||||||
right: 8,
|
right: 8,
|
||||||
|
|
|
||||||
|
|
@ -3156,26 +3156,10 @@ const AndroidVideoPlayer: React.FC = () => {
|
||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
</Animated.View>
|
</Animated.View>
|
||||||
<Text style={{
|
|
||||||
color: '#B8B8B8',
|
|
||||||
fontSize: 12,
|
|
||||||
marginTop: 8,
|
|
||||||
opacity: 0.9
|
|
||||||
}} numberOfLines={1}>
|
|
||||||
{`Via ${(currentStreamProvider || streamProvider || '').toString().toUpperCase()}${(currentQuality || quality) ? ` • ${(currentQuality || quality)}p` : ''}`}
|
|
||||||
</Text>
|
|
||||||
</>
|
</>
|
||||||
) : (
|
) : (
|
||||||
<>
|
<>
|
||||||
<ActivityIndicator size="large" color="#E50914" />
|
<ActivityIndicator size="large" color="#E50914" />
|
||||||
<Text style={{
|
|
||||||
color: '#B8B8B8',
|
|
||||||
fontSize: 12,
|
|
||||||
marginTop: 12,
|
|
||||||
opacity: 0.9
|
|
||||||
}} numberOfLines={1}>
|
|
||||||
{`Via ${(currentStreamProvider || streamProvider || '').toString().toUpperCase()}${(currentQuality || quality) ? ` • ${(currentQuality || quality)}p` : ''}`}
|
|
||||||
</Text>
|
|
||||||
</>
|
</>
|
||||||
)}
|
)}
|
||||||
</View>
|
</View>
|
||||||
|
|
|
||||||
|
|
@ -2483,28 +2483,10 @@ const KSPlayerCore: React.FC = () => {
|
||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
</Animated.View>
|
</Animated.View>
|
||||||
{/* Minimal provider/quality indicator under logo (not animated) */}
|
|
||||||
<Text style={{
|
|
||||||
color: '#B8B8B8',
|
|
||||||
fontSize: 12,
|
|
||||||
marginTop: 8,
|
|
||||||
opacity: 0.9
|
|
||||||
}} numberOfLines={1}>
|
|
||||||
{`Via ${(currentStreamProvider || streamProvider || '').toString().toUpperCase()}${(currentQuality || quality) ? ` • ${(currentQuality || quality)}p` : ''}`}
|
|
||||||
</Text>
|
|
||||||
</>
|
</>
|
||||||
) : (
|
) : (
|
||||||
<>
|
<>
|
||||||
<ActivityIndicator size="large" color="#E50914" />
|
<ActivityIndicator size="large" color="#E50914" />
|
||||||
{/* Minimal provider/quality indicator under spinner */}
|
|
||||||
<Text style={{
|
|
||||||
color: '#B8B8B8',
|
|
||||||
fontSize: 12,
|
|
||||||
marginTop: 12,
|
|
||||||
opacity: 0.9
|
|
||||||
}} numberOfLines={1}>
|
|
||||||
{`Via ${(currentStreamProvider || streamProvider || '').toString().toUpperCase()}${(currentQuality || quality) ? ` • ${(currentQuality || quality)}p` : ''}`}
|
|
||||||
</Text>
|
|
||||||
</>
|
</>
|
||||||
)}
|
)}
|
||||||
</View>
|
</View>
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue