From 7e5cfc10131260a88856ef11e43a811c9a01e082 Mon Sep 17 00:00:00 2001 From: laiiihz Date: Tue, 9 Mar 2021 13:56:23 +0800 Subject: [PATCH] update splash --- lib/pages/splash/splash_page.dart | 3 ++- .../things_page/widget/fixed_detail_page.dart | 18 +++++++++--------- 2 files changed, 11 insertions(+), 10 deletions(-) diff --git a/lib/pages/splash/splash_page.dart b/lib/pages/splash/splash_page.dart index 1384fa6f..94cc369b 100644 --- a/lib/pages/splash/splash_page.dart +++ b/lib/pages/splash/splash_page.dart @@ -1,4 +1,5 @@ // Flutter imports: +import 'package:akuCommunity/utils/developer_util.dart'; import 'package:flutter/material.dart'; // Package imports: @@ -58,7 +59,7 @@ class _SplashPageState extends State { void initState() { super.initState(); Future.delayed(Duration(milliseconds: 300), () { - if (mounted) PowerLogger.init(context); + if (mounted) PowerLogger.init(context, debug: DeveloperUtil.dev); }); _initOp().then((value) => Get.offAll(TabNavigator())); } diff --git a/lib/pages/things_page/widget/fixed_detail_page.dart b/lib/pages/things_page/widget/fixed_detail_page.dart index 1b65598b..04663de5 100644 --- a/lib/pages/things_page/widget/fixed_detail_page.dart +++ b/lib/pages/things_page/widget/fixed_detail_page.dart @@ -405,15 +405,15 @@ class _FixedDetailPageState extends State { '维修结果'.text.black.size(32.sp).bold.isIntrinsic.make(), 20.w.heightBox, BeeDivider.horizontal(), - Padding( - padding: EdgeInsets.all(20.w), - child: FadeInImage.assetNetwork( - placeholder: R.ASSETS_EXAMPLE_BG1_PNG, - image: 'null', - width: 646.w, - height: 323.w, - ), - ), + // Padding( + // padding: EdgeInsets.all(20.w), + // child: FadeInImage.assetNetwork( + // placeholder: R.ASSETS_EXAMPLE_BG1_PNG, + // image: 'null', + // width: 646.w, + // height: 323.w, + // ), + // ), 4.w.heightBox, Row( children: [