From 0868d28b9b4fc17190c1a90042ee563e9228bb26 Mon Sep 17 00:00:00 2001 From: laiiihz Date: Wed, 3 Feb 2021 15:39:08 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=9D=E5=AD=98=E5=BA=94=E7=94=A8=E6=B7=BB?= =?UTF-8?q?=E5=8A=A0=E5=8E=86=E5=8F=B2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/pages/home/home_page.dart | 7 ------- lib/pages/splash/splash_page.dart | 2 ++ 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/lib/pages/home/home_page.dart b/lib/pages/home/home_page.dart index 4d338a6d..cfa70f19 100644 --- a/lib/pages/home/home_page.dart +++ b/lib/pages/home/home_page.dart @@ -163,13 +163,6 @@ class _HomePageState extends State radius: 8, customWidget: ApplicationView(), ), - ContainerComment( - radius: 8, - customWidget: GridButtons( - gridList: _gridList, - crossCount: 4, - ), - ), // SingleAdSpace( // imagePath: R.ASSETS_EXAMPLE_GUANGGAO2_PNG, // ), diff --git a/lib/pages/splash/splash_page.dart b/lib/pages/splash/splash_page.dart index af62e8f5..4a470e0b 100644 --- a/lib/pages/splash/splash_page.dart +++ b/lib/pages/splash/splash_page.dart @@ -40,6 +40,8 @@ class _SplashPageState extends State { //ensure call _originOp first. await _originOp(); final userProvider = Provider.of(context, listen: false); + final appProvider = Provider.of(context, listen: false); + appProvider.initApplications(); //app init delay 2 second await Future.delayed(Duration(seconds: 2)); if (HiveStore.appBox.get('login') ?? false) {