From 5d287b7eff13e1e4abd12deb3e50e68746d6ca4b Mon Sep 17 00:00:00 2001 From: yaso Date: Thu, 7 Nov 2024 11:43:20 +0200 Subject: [PATCH] enable appointment tile --- .../lib/mih_packages/mih_home/mih_home.dart | 32 +++++++++---------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/Frontend/patient_manager/lib/mih_packages/mih_home/mih_home.dart b/Frontend/patient_manager/lib/mih_packages/mih_home/mih_home.dart index 7064e8d0..9b81d3bd 100644 --- a/Frontend/patient_manager/lib/mih_packages/mih_home/mih_home.dart +++ b/Frontend/patient_manager/lib/mih_packages/mih_home/mih_home.dart @@ -140,22 +140,22 @@ class _MIHHomeState extends State { p: getPrim(), s: getSec(), )); - // tileList.add(MIHTile( - // onTap: () { - // Navigator.of(context).pushNamed( - // '/appointments', - // arguments: widget.signedInUser, - // ); - // }, - // tileName: "Appointments", - // tileIcon: Icon( - // Icons.calendar_month, - // color: getSec(), - // size: 200, - // ), - // p: getPrim(), - // s: getSec(), - // )); + tileList.add(MIHTile( + onTap: () { + Navigator.of(context).pushNamed( + '/appointments', + arguments: widget.signedInUser, + ); + }, + tileName: "Appointments", + tileIcon: Icon( + Icons.calendar_month, + color: getSec(), + size: 200, + ), + p: getPrim(), + s: getSec(), + )); tileList.add(MIHTile( onTap: () { Navigator.of(context).pushNamed(