Corrected Testing code
parent
c66ee1468c
commit
af628a8fab
|
@ -34,7 +34,7 @@ class ViewFormPage extends StatelessWidget {
|
||||||
margin: EdgeInsets.symmetric(vertical: height * 0.02),
|
margin: EdgeInsets.symmetric(vertical: height * 0.02),
|
||||||
child: RoundIconButton(
|
child: RoundIconButton(
|
||||||
iconData: Icons.add_outlined,
|
iconData: Icons.add_outlined,
|
||||||
onPressed: true
|
onPressed: tasksProvider.tasks[page] ?? true
|
||||||
? () => pageProvider.swap()
|
? () => pageProvider.swap()
|
||||||
: () => showTaskDonePopup(context, page),
|
: () => showTaskDonePopup(context, page),
|
||||||
),
|
),
|
||||||
|
|
Loading…
Reference in New Issue