Corrected Testing code

main
Kai Mannweiler 2023-03-06 16:07:15 +01:00
parent c66ee1468c
commit af628a8fab
1 changed files with 1 additions and 1 deletions

View File

@ -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),
),