mirror of
https://github.com/SyncrowIOT/web.git
synced 2025-07-10 07:07:19 +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