Updated the PDF report to give the value out of 9.0

This commit is contained in:
Tiago Ribeiro
2024-03-22 09:07:36 +00:00
parent 7d83ebc5c5
commit 969698d8b8

View File

@@ -11,7 +11,7 @@ export const RadialResult = ({module, score, total, png}: ModuleScore) => (
<Image src={png} style={styles.image64}></Image> <Image src={png} style={styles.image64}></Image>
<View style={[styles.textColor, styles.radialResultContainer]}> <View style={[styles.textColor, styles.radialResultContainer]}>
<Text style={styles.textBold}>{score.toFixed(2)}</Text> <Text style={styles.textBold}>{score.toFixed(2)}</Text>
<Text style={{fontSize: 8}}>out of {total}</Text> <Text style={{fontSize: 8}}>out of 9.0</Text>
</View> </View>
</View> </View>
); );