UI changes - removed VIA [provider] from player loading overlay

This commit is contained in:
tapframe 2025-10-05 22:45:27 +05:30
parent 0a840b1cb0
commit 25988bdb7b
3 changed files with 7 additions and 35 deletions

View file

@ -513,7 +513,7 @@ export const CommentsSection: React.FC<CommentsSectionProps> = ({
<ScrollView horizontal showsHorizontalScrollIndicator={false} contentContainerStyle={styles.horizontalList}>
{placeholders.map((i) => (
<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>
@ -895,6 +895,12 @@ const styles = StyleSheet.create({
marginLeft: 6,
},
traktIconContainer: {
position: 'absolute',
top: 0,
right: 0,
zIndex: 1,
},
skeletonTraktContainer: {
position: 'absolute',
top: 8,
right: 8,

View file

@ -3156,26 +3156,10 @@ const AndroidVideoPlayer: React.FC = () => {
}}
/>
</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" />
<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 file

@ -2483,28 +2483,10 @@ const KSPlayerCore: React.FC = () => {
}}
/>
</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" />
{/* 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>