Added current temp to AC functions

This commit is contained in:
Abdullah Alassaf
2025-03-11 23:41:21 +03:00
parent 41605bef6b
commit b563cc378e
4 changed files with 37 additions and 2 deletions

View File

@ -329,8 +329,8 @@ class ACHelper {
) {
return Slider(
value: initialValue is int ? initialValue.toDouble() : 200.0,
min: 200,
max: 300,
min: selectCode == 'temp_current' ? -100 : 200,
max: selectCode == 'temp_current' ? 900 : 300,
divisions: 10,
label: '${((initialValue ?? 160) / 10).toInt()}°C',
onChanged: (value) {