From a3e9cf756a12ad187ebc739530701a896c9b2b76 Mon Sep 17 00:00:00 2001 From: yaso-meth Date: Mon, 9 Sep 2024 14:05:29 +0200 Subject: [PATCH] add manage team tile --- .../lib/components/homeTileGrid.dart | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/Frontend/patient_manager/lib/components/homeTileGrid.dart b/Frontend/patient_manager/lib/components/homeTileGrid.dart index 9d35ff8d..c5bf9334 100644 --- a/Frontend/patient_manager/lib/components/homeTileGrid.dart +++ b/Frontend/patient_manager/lib/components/homeTileGrid.dart @@ -153,6 +153,26 @@ class _HomeTileGridState extends State { p: getPrim(), s: getSec(), )); + tileList.add(HomeTile( + onTap: () { + Navigator.of(context).pushNamed( + '/business-profile/manage', + arguments: BusinessArguments( + widget.signedInUser, + widget.businessUser, + widget.business, + ), + ); + }, + tileName: "Manage Team", + tileIcon: Icon( + Icons.people_outline, + color: getSec(), + size: 200, + ), + p: getPrim(), + s: getSec(), + )); } if (widget.business!.type == "Doctors Office") { tileList.add(HomeTile(