Merge pull request #43 from yaso-meth/QOL-Update-Appointment-Tile

QOL-Update-Appointment-Tile
This commit is contained in:
yaso-meth
2025-01-21 14:09:23 +02:00
committed by GitHub
2 changed files with 3 additions and 3 deletions

View File

@@ -249,11 +249,11 @@ class _MIHHomeState extends State<MIHHome> {
tileList.add(MIHTile( tileList.add(MIHTile(
onTap: () { onTap: () {
Navigator.of(context).pushNamed( Navigator.of(context).pushNamed(
'/appointments', '/calendar',
arguments: widget.signedInUser, arguments: widget.signedInUser,
); );
}, },
tileName: "Appointments", tileName: "Calendar",
tileIcon: Center( tileIcon: Center(
child: FaIcon( child: FaIcon(
FontAwesomeIcons.calendarDays, FontAwesomeIcons.calendarDays,

View File

@@ -210,7 +210,7 @@ class RouteGenerator {
//=============================================================== //===============================================================
// Appointment Page // Appointment Page
case '/appointments': case '/calendar':
if (args is AppUser) { if (args is AppUser) {
//print("route generator: $args"); //print("route generator: $args");
return MaterialPageRoute( return MaterialPageRoute(