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(
|
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,
|
||||||
|
|||||||
@@ -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(
|
||||||
|
|||||||
Reference in New Issue
Block a user