diff --git a/Frontend/patient_manager/lib/components/homeTileGrid.dart b/Frontend/patient_manager/lib/components/homeTileGrid.dart index c5bf9334..c539ad09 100644 --- a/Frontend/patient_manager/lib/components/homeTileGrid.dart +++ b/Frontend/patient_manager/lib/components/homeTileGrid.dart @@ -132,27 +132,27 @@ class _HomeTileGridState extends State { } void setAppsBusiness(List tileList) { + tileList.add(HomeTile( + onTap: () { + Navigator.of(context).pushNamed( + '/business-profile', + arguments: BusinessArguments( + widget.signedInUser, + widget.businessUser, + widget.business, + ), + ); + }, + tileName: "Business Profile", + tileIcon: Icon( + Icons.business, + color: getSec(), + size: 200, + ), + p: getPrim(), + s: getSec(), + )); if (widget.businessUser!.access == "Full") { - tileList.add(HomeTile( - onTap: () { - Navigator.of(context).pushNamed( - '/business-profile', - arguments: BusinessArguments( - widget.signedInUser, - widget.businessUser, - widget.business, - ), - ); - }, - tileName: "Business Profile", - tileIcon: Icon( - Icons.business, - color: getSec(), - size: 200, - ), - p: getPrim(), - s: getSec(), - )); tileList.add(HomeTile( onTap: () { Navigator.of(context).pushNamed(