mirror of
https://github.com/SyncrowIOT/syncrow-app.git
synced 2025-11-26 11:54:54 +00:00
set default value for tempreture at confirm
This commit is contained in:
@ -50,10 +50,10 @@ class _AlertDialogTemperatureBodyState
|
||||
});
|
||||
}
|
||||
|
||||
// context.read<CreateSceneBloc>().add(SelectedValueEvent(
|
||||
// value: temperature * 10,
|
||||
// code: widget.taskItem.code,
|
||||
// ));
|
||||
context.read<CreateSceneBloc>().add(SelectedValueEvent(
|
||||
value: temperature * 10,
|
||||
code: widget.taskItem.code,
|
||||
));
|
||||
}
|
||||
|
||||
int _normalizeTemperature(dynamic value) {
|
||||
|
||||
Reference in New Issue
Block a user