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));
|
||||
},
|
||||
),
|
||||
);
|
||||
|
@ -126,6 +126,7 @@ class CustomBottomSheetWidget extends StatelessWidget {
|
||||
));
|
||||
context.read<CreateSceneBloc>().add(AddTaskEvent());
|
||||
Navigator.pop(context);
|
||||
Navigator.pop(context);
|
||||
},
|
||||
onDismiss: () {
|
||||
final tempTaskList = context.read<CreateSceneBloc>().tempTasksList;
|
||||
|
Reference in New Issue
Block a user