From b35385b30602358b5fa63506e05013c58c4d722c Mon Sep 17 00:00:00 2001 From: Kevin Whitaker Date: Fri, 8 Nov 2019 16:05:40 -0500 Subject: [PATCH] Quickly add Fahrenheit to temp screen. --- src/contents/ui/main.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/contents/ui/main.qml b/src/contents/ui/main.qml index 8173013..117a457 100644 --- a/src/contents/ui/main.qml +++ b/src/contents/ui/main.qml @@ -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" -- GitLab