fix: actually display temp in fahrenheit
This commit is contained in:
parent
81fc9dda02
commit
10feabc5a7
1 changed files with 1 additions and 1 deletions
|
|
@ -93,7 +93,7 @@ StyledRect {
|
||||||
}
|
}
|
||||||
|
|
||||||
StyledText {
|
StyledText {
|
||||||
text: Math.round(root.temperature) + (GlobalConfig.services.useFahrenheitPerformance ? "°F" : "°C")
|
text: `${Math.ceil(GlobalConfig.services.useFahrenheitPerformance ? root.temperature * 1.8 + 32 : root.temperature)}°${GlobalConfig.services.useFahrenheitPerformance ? "F" : "C"}`
|
||||||
font: Tokens.font.body.builders.medium.build()
|
font: Tokens.font.body.builders.medium.build()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue