diff --git a/lib/widgets/view_form/view_form_page.dart b/lib/widgets/view_form/view_form_page.dart index c695e9c..828b9af 100644 --- a/lib/widgets/view_form/view_form_page.dart +++ b/lib/widgets/view_form/view_form_page.dart @@ -34,7 +34,7 @@ class ViewFormPage extends StatelessWidget { margin: EdgeInsets.symmetric(vertical: height * 0.02), child: RoundIconButton( iconData: Icons.add_outlined, - onPressed: true + onPressed: tasksProvider.tasks[page] ?? true ? () => pageProvider.swap() : () => showTaskDonePopup(context, page), ),