Quickly add Fahrenheit to temp screen.
This commit is contained in:
@@ -63,7 +63,7 @@ Kirigami.ApplicationWindow {
|
||||
Layouts.Layout.alignment: Qt.AlignCenter
|
||||
level: 3
|
||||
text: {
|
||||
if(model.chartType == "temperature") qiflora.temperature + "°C"
|
||||
if(model.chartType == "temperature") qiflora.temperature + "°C\n" + (qiflora.temperature*1.8+32) + "°F"
|
||||
else if(model.chartType == "moisture") qiflora.moisture + "%"
|
||||
else if(model.chartType == "conductivity") qiflora.conduction + " µS/cm"
|
||||
else if(model.chartType == "brightness") qiflora.brightness + " lux"
|
||||
|
||||
Reference in New Issue
Block a user