mirror of
https://github.com/SyncrowIOT/web.git
synced 2025-11-27 13:24:55 +00:00
Pulled latest changes
This commit is contained in:
@ -42,8 +42,9 @@ class DeleteSceneWidget extends StatelessWidget {
|
||||
Container(width: 1, height: 50, color: ColorsManager.greyColor),
|
||||
InkWell(
|
||||
onTap: () {
|
||||
// context.read<RoutineBloc>().add(
|
||||
// DeleteAutomation(automationId: automationId, unitUuid: unitUuid));
|
||||
context.read<RoutineBloc>().add(DeleteScene(
|
||||
id: context.read<RoutineBloc>().state.automationId!,
|
||||
));
|
||||
Navigator.of(context).pop();
|
||||
Navigator.of(context).pop();
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user