Bug fixes

This commit is contained in:
mohammad
2024-12-01 12:05:19 +03:00
parent e003d9b8b3
commit 1aa6b78fb4
2 changed files with 5 additions and 5 deletions

View File

@ -162,10 +162,10 @@ class SaveRoutineHelper {
.read<RoutineBloc>()
.add(const CreateSceneEvent());
}
if (context.read<RoutineBloc>().state.errorMessage ==
null) {
Navigator.pop(context, true);
}
}
if (context.read<RoutineBloc>().state.errorMessage ==
null) {
Navigator.pop(context, true);
}
},
isConfirmEnabled: true,

View File

@ -92,7 +92,7 @@ class Condition {
return {
'code': code,
'entityId': entityId,
'entityType': entityType,
'entityType': 'device_report',
'expr': expr.toMap(),
};
}