修复比赛结果显示逻辑并调整分数字体大小
This commit is contained in:
@@ -67,7 +67,7 @@ export function ScoreHeader({ data, isDark, topInset }: ScoreHeaderProps) {
|
|||||||
<View style={styles.centerScore}>
|
<View style={styles.centerScore}>
|
||||||
<View style={styles.scoreBox}>
|
<View style={styles.scoreBox}>
|
||||||
<ThemedText style={styles.scoreValue}>
|
<ThemedText style={styles.scoreValue}>
|
||||||
{match.eventFinalResult && match.eventFinalResult !== ""
|
{match.eventFinalResult && match.eventFinalResult !== "-"
|
||||||
? match.eventFinalResult
|
? match.eventFinalResult
|
||||||
: "0 - 0"}
|
: "0 - 0"}
|
||||||
</ThemedText>
|
</ThemedText>
|
||||||
@@ -181,7 +181,7 @@ const styles = StyleSheet.create({
|
|||||||
},
|
},
|
||||||
scoreValue: {
|
scoreValue: {
|
||||||
color: "#000",
|
color: "#000",
|
||||||
fontSize: 32,
|
fontSize: 19,
|
||||||
fontWeight: "bold",
|
fontWeight: "bold",
|
||||||
letterSpacing: 2,
|
letterSpacing: 2,
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user