mirror of
https://github.com/SyncrowIOT/syncrow-app.git
synced 2025-08-26 08:59:40 +00:00
push fixes
This commit is contained in:
@ -42,6 +42,27 @@ mixin SceneLogicHelper {
|
||||
);
|
||||
return;
|
||||
}
|
||||
if (isAutomation == true && conditions.isEmpty) {
|
||||
context.showCustomSnackbar(
|
||||
message: 'Conditions Must not be empty!',
|
||||
icon: const Icon(
|
||||
Icons.error,
|
||||
color: Colors.red,
|
||||
),
|
||||
);
|
||||
return;
|
||||
}
|
||||
|
||||
if (isAutomation == true && actions.isEmpty) {
|
||||
context.showCustomSnackbar(
|
||||
message: 'Actions Must not be empty!',
|
||||
icon: const Icon(
|
||||
Icons.error,
|
||||
color: Colors.red,
|
||||
),
|
||||
);
|
||||
return;
|
||||
}
|
||||
|
||||
if (isAutomation) {
|
||||
final createAutomationModel = CreateAutomationModel(
|
||||
|
Reference in New Issue
Block a user