Bug fix
This commit is contained in:
parent
4de74657a0
commit
ba78b484bb
|
|
@ -128,10 +128,7 @@ class _TaskEditState extends State<TaskEdit>
|
||||||
? SizedBox()
|
? SizedBox()
|
||||||
: FloatingActionButton(
|
: FloatingActionButton(
|
||||||
backgroundColor: Theme.of(context).primaryColorDark,
|
backgroundColor: Theme.of(context).primaryColorDark,
|
||||||
onPressed: () {
|
onPressed: () => viewModel.onFabPressed(),
|
||||||
viewModel.onFabPressed();
|
|
||||||
_controller.animateTo(kTimesScreen);
|
|
||||||
},
|
|
||||||
child: Icon(
|
child: Icon(
|
||||||
task.isRunning ? Icons.stop : Icons.play_arrow,
|
task.isRunning ? Icons.stop : Icons.play_arrow,
|
||||||
color: Colors.white,
|
color: Colors.white,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue