修改bug

This commit is contained in:
jyuesong
2022-01-20 14:22:01 +08:00
parent a97aa1f347
commit d4e8dec698
4 changed files with 19 additions and 4 deletions

View File

@@ -152,9 +152,12 @@ class _TaskDetailPageState extends ConsumerState<TaskDetailPage> {
[
GestureDetector(
behavior: HitTestBehavior.opaque,
onTap: () {
onTap: () async{
Navigator.of(context).pop();
startCron(context, ref);
await startCron(context, ref);
setState(() {
});
},
child: Container(
padding: const EdgeInsets.symmetric(
@@ -177,6 +180,7 @@ class _TaskDetailPageState extends ConsumerState<TaskDetailPage> {
onTap: () {
Navigator.of(context).pop();
showLog();
},
child: Container(
padding: const EdgeInsets.symmetric(