mirror of
https://github.com/SyncrowIOT/syncrow-app.git
synced 2025-07-16 01:56:19 +00:00
push put api
This commit is contained in:
@ -46,7 +46,9 @@ class DeviceFunctionsView extends StatelessWidget
|
||||
actions: [
|
||||
TextButton(
|
||||
onPressed: () {
|
||||
context.read<CreateSceneBloc>().add(AddTaskEvent());
|
||||
context
|
||||
.read<CreateSceneBloc>()
|
||||
.add(const AddTaskEvent(updateTaskListFromTemp: true));
|
||||
Navigator.popUntil(context, (route) {
|
||||
return route.settings.name == Routes.sceneTasksRoute;
|
||||
});
|
||||
|
Reference in New Issue
Block a user