displays ceiling sensor in routine

This commit is contained in:
Faris Armoush
2025-04-09 12:46:43 +03:00
parent 550acc4953
commit 6c691d4b3c
4 changed files with 11 additions and 8 deletions

View File

@ -71,7 +71,8 @@ class IfContainer extends StatelessWidget {
'1G',
'2G',
'3G',
'WPS'
'WPS',
'CPS',
].contains(
state.ifItems[index]['productType'])) {
context.read<RoutineBloc>().add(
@ -129,7 +130,7 @@ class IfContainer extends StatelessWidget {
context
.read<RoutineBloc>()
.add(AddToIfContainer(mutableData, false));
} else if (!['AC', '1G', '2G', '3G', 'WPS']
} else if (!['AC', '1G', '2G', '3G', 'WPS', 'CPS']
.contains(mutableData['productType'])) {
context
.read<RoutineBloc>()