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(
onTap: () {
Navigator.of(context).pushNamed(
'/appointments',
'/calendar',
arguments: widget.signedInUser,
);
},
tileName: "Appointments",
tileName: "Calendar",
tileIcon: Center(
child: FaIcon(
FontAwesomeIcons.calendarDays,

View File

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