fix: 暗黑模式下封面图占位背景色跟随卡片颜色

This commit is contained in:
Developer
2026-03-24 21:43:52 +08:00
parent a61aa5caac
commit 5a368dc794
2 changed files with 2 additions and 2 deletions

View File

@@ -43,7 +43,7 @@ export const LiveCard = React.memo(function LiveCard({
source={{ uri: proxyImageUrl(item.cover) }} source={{ uri: proxyImageUrl(item.cover) }}
style={[ style={[
styles.thumb, styles.thumb,
{ width: cardWidth, height: cardWidth * 0.5625 }, { width: cardWidth, height: cardWidth * 0.5625, backgroundColor: theme.card },
]} ]}
resizeMode="cover" resizeMode="cover"
/> />

View File

@@ -34,7 +34,7 @@ export const VideoCard = React.memo(function VideoCard({ item, onPress }: Props)
<View style={styles.thumbContainer}> <View style={styles.thumbContainer}>
<Image <Image
source={{ uri: coverImageUrl(item.pic, trafficSaving ? 'normal' : 'hd') }} source={{ uri: coverImageUrl(item.pic, trafficSaving ? 'normal' : 'hd') }}
style={styles.thumb} style={[styles.thumb, { backgroundColor: theme.card }]}
resizeMode="cover" resizeMode="cover"
/> />
<View style={styles.meta}> <View style={styles.meta}>