diff --git a/lib/pages/guide_page/guide_page.dart b/lib/pages/guide_page/guide_page.dart index 7dc71a9..a573dc7 100644 --- a/lib/pages/guide_page/guide_page.dart +++ b/lib/pages/guide_page/guide_page.dart @@ -170,14 +170,14 @@ class _GuidePageState extends State { void showPlolicy() async { ///协议弹窗 - String isShowPolicy = await SharedPreferencesUtil.getStringValue(Constants.isShowPolicy); + String isShowPolicy = await SharedPreferencesUtil.getStringValue(GlobalConfig.isShowPolicy); if (isShowPolicy == null || isShowPolicy != '1') { NativeUtil.notifyInitSuccess(); bool isAccept = await PolicyDialog.show(context); if (!isAccept) { exit(0); } else { - await SharedPreferencesUtil.setStringValue(Constants.isShowPolicy, "1"); + await SharedPreferencesUtil.setStringValue(GlobalConfig.isShowPolicy, "1"); } } }