From c2f064de748a6e454575fa70efca29b03319661b Mon Sep 17 00:00:00 2001 From: Yasien Mac Mini Date: Thu, 10 Jul 2025 10:17:16 +0200 Subject: [PATCH] fix error with test package --- .../package_tools/package_tool_one.dart | 24 +++++++++---------- 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/Frontend/lib/mih_components/mih_package_components/Example/package_tools/package_tool_one.dart b/Frontend/lib/mih_components/mih_package_components/Example/package_tools/package_tool_one.dart index 2872da06..2770ba9f 100644 --- a/Frontend/lib/mih_components/mih_package_components/Example/package_tools/package_tool_one.dart +++ b/Frontend/lib/mih_components/mih_package_components/Example/package_tools/package_tool_one.dart @@ -227,19 +227,19 @@ class _PackageToolOneState extends State { // print(asyncSnapshot.connectionState); if (asyncSnapshot.connectionState == ConnectionState.waiting) { - return MihBusinessProfilePreview( - business: widget.business, - myLocation: null, - ).redacted( - context: context, - redact: true, - ); - // return Container( - // width: 150, - // height: 50, - // // color: Colors.black, - // child: Center(child: CircularProgressIndicator()), + // return MihBusinessProfilePreview( + // business: widget.business, + // myLocation: null, + // ).redacted( + // context: context, + // redact: true, // ); + return Container( + width: 150, + height: 50, + // color: Colors.black, + child: Center(child: CircularProgressIndicator()), + ); } else if (asyncSnapshot.hasError || !asyncSnapshot.hasData || asyncSnapshot.data == null) {