调整 StatsCard 组件中的开关颜色,以提升用户界面一致性
This commit is contained in:
@@ -176,7 +176,7 @@ export function StatsCard({ match, isDark }: StatsCardProps) {
|
||||
<Switch
|
||||
value={flagSwitch}
|
||||
onValueChange={setFlagSwitch}
|
||||
trackColor={{ false: "#DDD", true: "#EEE" }}
|
||||
trackColor={{ false: "#DDD", true: "#3b5998" }}
|
||||
thumbColor={flagSwitch ? "#A5D6A7" : "#FFF"}
|
||||
style={styles.smallSwitch}
|
||||
/>
|
||||
|
||||
Reference in New Issue
Block a user