mirror of
https://github.com/SyncrowIOT/syncrow-app.git
synced 2025-07-16 01:56:19 +00:00
push
This commit is contained in:
@ -60,8 +60,11 @@ class _AlertDialogCountdownState extends State<AlertDialogCountdown> {
|
||||
setState(() {
|
||||
durationInSeconds = newDuration.inSeconds;
|
||||
});
|
||||
context.read<CreateSceneBloc>().add(
|
||||
SelectedValueEvent(value: newDuration.inSeconds, code: 'delay'));
|
||||
context.read<CreateSceneBloc>().add(SelectedValueEvent(
|
||||
value: newDuration.inSeconds,
|
||||
code: widget.function.deviceId == 'delay'
|
||||
? 'delay'
|
||||
: widget.function.code));
|
||||
},
|
||||
),
|
||||
);
|
||||
|
Reference in New Issue
Block a user