浏览代码

1.更新弹出逻辑

tags/0.0.13+3
“yanghuaxuan” 4 年前
父节点
当前提交
e3a7e0a510
共有 1 个文件被更改,包括 9 次插入8 次删除
  1. +9
    -8
      lib/pages/home_page/home_page.dart

+ 9
- 8
lib/pages/home_page/home_page.dart 查看文件

@@ -363,18 +363,19 @@ class _HomePageState extends LifeState<HomePage> with WidgetsBindingObserver, Ti
await AppUpdateUtil.initXUpdate(); await AppUpdateUtil.initXUpdate();
// 检查app更新 // 检查app更新
await AppUpdateUtil.updateApp(context); await AppUpdateUtil.updateApp(context);
}); // 通知弹窗


// 通知弹窗 if (!await Permission.notification.isGranted || !await Permission.storage.isGranted) {
await NotificationSettingDialog.show(context);
}


if (!await Permission.notification.isGranted || !await Permission.storage.isGranted) { // 活动弹窗
await NotificationSettingDialog.show(context); await AdvertisingDialog.show(context);
}


// 活动弹窗 IntellectCreate.checkAndCreateFirst(context);
await AdvertisingDialog.show(context); });


IntellectCreate.checkAndCreateFirst(context);
} }


// 场景还原,记录邀请码 // 场景还原,记录邀请码


||||||
x
 
000:0
正在加载...
取消
保存