mirror of
https://gh-proxy.org/https://github.com/tiajinsha/JKVideo
synced 2026-07-09 15:56:06 +08:00
fix: 暗黑模式下封面图占位背景色跟随卡片颜色
This commit is contained in:
@@ -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"
|
||||||
/>
|
/>
|
||||||
|
|||||||
@@ -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}>
|
||||||
|
|||||||
Reference in New Issue
Block a user