From 1917e14b5a802160720f9942665b042b4a051a26 Mon Sep 17 00:00:00 2001 From: PH2 <1293456824@qq.com> Date: Thu, 6 May 2021 14:16:08 +0800 Subject: [PATCH] =?UTF-8?q?1=E3=80=81=E7=94=A8=E6=88=B7=E5=8D=8F=E8=AE=AE?= =?UTF-8?q?=E7=9A=84SP=20key=E6=94=B9=E6=88=90comm=E5=BA=93=E7=9A=84Global?= =?UTF-8?q?Config?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/pages/guide_page/guide_page.dart | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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"); } } }