From 98a5a92b1e496a4f7c886d2da24a56abacb47861 Mon Sep 17 00:00:00 2001 From: PH2 <1293456824@qq.com> Date: Wed, 26 May 2021 13:43:58 +0800 Subject: [PATCH] =?UTF-8?q?1=E3=80=81=E4=BC=98=E5=8C=96=E5=BC=B9=E7=AA=97?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/pages/home_page/home_page.dart | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/pages/home_page/home_page.dart b/lib/pages/home_page/home_page.dart index e9072f9..9e7f281 100644 --- a/lib/pages/home_page/home_page.dart +++ b/lib/pages/home_page/home_page.dart @@ -370,7 +370,7 @@ class _HomePageState extends State with WidgetsBindingObserver, Ticker /// 3、活动弹窗 /// Future _showPolicy() async { - await Future.delayed(Duration(milliseconds: 1000), () async { + Future.delayed(Duration(milliseconds: 1000), () async { // 通知弹窗 ///每打开5次检查一次权限 String showNotiPermissionTime = await SharedPreferencesUtil.getStringValue(Constants.showNotiPermissionTime, defaultVal: "5"); @@ -418,7 +418,7 @@ class _HomePageState extends State with WidgetsBindingObserver, Ticker IntellectCreate.checkAndCreateFirst(context); }); - await Future.delayed(Duration(seconds: 3), () async { + Future.delayed(Duration(seconds: 3), () async { //debug app不更新 app更新插件 await AppUpdateUtil.initXUpdate(); // 检查app更新