fix error with test package
This commit is contained in:
@@ -227,19 +227,19 @@ class _PackageToolOneState extends State<PackageToolOne> {
|
|||||||
// print(asyncSnapshot.connectionState);
|
// print(asyncSnapshot.connectionState);
|
||||||
if (asyncSnapshot.connectionState ==
|
if (asyncSnapshot.connectionState ==
|
||||||
ConnectionState.waiting) {
|
ConnectionState.waiting) {
|
||||||
return MihBusinessProfilePreview(
|
// return MihBusinessProfilePreview(
|
||||||
business: widget.business,
|
// business: widget.business,
|
||||||
myLocation: null,
|
// myLocation: null,
|
||||||
).redacted(
|
// ).redacted(
|
||||||
context: context,
|
// context: context,
|
||||||
redact: true,
|
// redact: true,
|
||||||
);
|
|
||||||
// return Container(
|
|
||||||
// width: 150,
|
|
||||||
// height: 50,
|
|
||||||
// // color: Colors.black,
|
|
||||||
// child: Center(child: CircularProgressIndicator()),
|
|
||||||
// );
|
// );
|
||||||
|
return Container(
|
||||||
|
width: 150,
|
||||||
|
height: 50,
|
||||||
|
// color: Colors.black,
|
||||||
|
child: Center(child: CircularProgressIndicator()),
|
||||||
|
);
|
||||||
} else if (asyncSnapshot.hasError ||
|
} else if (asyncSnapshot.hasError ||
|
||||||
!asyncSnapshot.hasData ||
|
!asyncSnapshot.hasData ||
|
||||||
asyncSnapshot.data == null) {
|
asyncSnapshot.data == null) {
|
||||||
|
|||||||
Reference in New Issue
Block a user