master
戴余标 3 years ago
parent 25873f72dd
commit aac312446a

@ -133,9 +133,9 @@ class _SplashPageState extends State<SplashPage> {
); );
/// ///
await Permission.locationWhenInUse.request(); // await Permission.locationWhenInUse.request();
final appProvider = Provider.of<AppProvider>(context, listen: false); // final appProvider = Provider.of<AppProvider>(context, listen: false);
appProvider.startLocation(); // appProvider.startLocation();
/// ///
await UserTool.dataProvider.init(); await UserTool.dataProvider.init();

Loading…
Cancel
Save