fix(telemetry): temperature UNIT conversion when temperature has decimals (#4728)

This commit is contained in:
Frankie Arzu
2024-04-03 11:57:37 +10:00
committed by GitHub
parent 0d84acef59
commit e3f2914871
4 changed files with 31 additions and 11 deletions
+1 -1
View File
@@ -465,7 +465,7 @@ class SensorEditWindow : public Page {
}
// Precision
if (sensor->isPrecConfigurable() && sensor->unit != UNIT_FAHRENHEIT) {
if (sensor->isPrecConfigurable()) {
lv_obj_clear_flag(paramLines[P_PREC]->getLvObj(), LV_OBJ_FLAG_HIDDEN);
}