From aac312446adf3deaa53072043f068074775e720e Mon Sep 17 00:00:00 2001 From: datang Date: Mon, 9 May 2022 18:02:33 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=9A=E4=BD=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/ui/splash/splash_page.dart | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/ui/splash/splash_page.dart b/lib/ui/splash/splash_page.dart index 1f26678..284e4de 100644 --- a/lib/ui/splash/splash_page.dart +++ b/lib/ui/splash/splash_page.dart @@ -133,9 +133,9 @@ class _SplashPageState extends State { ); ///定位权限申请 - await Permission.locationWhenInUse.request(); - final appProvider = Provider.of(context, listen: false); - appProvider.startLocation(); + // await Permission.locationWhenInUse.request(); + // final appProvider = Provider.of(context, listen: false); + // appProvider.startLocation(); ///城市信息更新 await UserTool.dataProvider.init();