forked from yaso_meth/mih-project
Merge pull request #43 from yaso-meth/QOL-Update-Appointment-Tile
QOL-Update-Appointment-Tile
This commit is contained in:
@@ -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,
|
||||
|
||||
@@ -210,7 +210,7 @@ class RouteGenerator {
|
||||
//===============================================================
|
||||
|
||||
// Appointment Page
|
||||
case '/appointments':
|
||||
case '/calendar':
|
||||
if (args is AppUser) {
|
||||
//print("route generator: $args");
|
||||
return MaterialPageRoute(
|
||||
|
||||
Reference in New Issue
Block a user