Corrected Testing code
parent
c66ee1468c
commit
af628a8fab
|
@ -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),
|
||||
),
|
||||
|
|
Loading…
Reference in New Issue