diff --git a/lib/widgets/view_form/view_form_page.dart b/lib/widgets/view_form/view_form_page.dart index 099ae07..e58d5b0 100644 --- a/lib/widgets/view_form/view_form_page.dart +++ b/lib/widgets/view_form/view_form_page.dart @@ -5,6 +5,7 @@ import 'package:smoke_cess_app/widgets/buttons/round_button_widget.dart'; import 'package:smoke_cess_app/providers/input_provider.dart'; import 'package:smoke_cess_app/providers/page_provider.dart'; import 'package:smoke_cess_app/providers/tasks_provider.dart'; +import 'package:smoke_cess_app/widgets/popup/popup_for_task_done.dart'; class ViewFormPage extends StatelessWidget { final Widget form; @@ -34,8 +35,7 @@ class ViewFormPage extends StatelessWidget { child: RoundAddButton( onPressed: tasksProvider.tasks[page] == true ? () => pageProvider.swap() - : () => pageProvider.swap(), - //: () => showTaskDonePopup(context, page), + : () => showTaskDonePopup(context, page), ), ) ]);