mirror of
https://github.com/SyncrowIOT/web.git
synced 2025-07-09 22:57:21 +00:00
removed unused method.
This commit is contained in:
@ -150,4 +150,15 @@ class _CeilingSensorDialogState extends State<CeilingSensorDialog> {
|
||||
],
|
||||
);
|
||||
}
|
||||
List<DeviceFunctionData> updateValuesForAddedFunctions(List<DeviceFunctionData> addedFunctions) {
|
||||
return addedFunctions.map((function) {
|
||||
if (function.functionCode == 'sensitivity') {
|
||||
return function.copyWith(
|
||||
value: function.value,
|
||||
condition: function.condition,
|
||||
);
|
||||
}
|
||||
return function;
|
||||
}).toList();
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user