finished sending the delay in correct way

This commit is contained in:
ashrafzarkanisala
2024-07-01 20:51:14 +03:00
parent 4b6d82812d
commit bf05f94586
3 changed files with 11 additions and 9 deletions

View File

@ -60,8 +60,8 @@ class _AlertDialogCountdownState extends State<AlertDialogCountdown> {
setState(() {
durationInSeconds = newDuration.inSeconds;
});
context.read<CreateSceneBloc>().add(SelectedValueEvent(
value: newDuration.inSeconds, code: widget.function.code));
context.read<CreateSceneBloc>().add(
SelectedValueEvent(value: newDuration.inSeconds, code: 'delay'));
},
),
);