mirror of
https://github.com/SyncrowIOT/syncrow-app.git
synced 2026-10-26 02:17:55 +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