add business field to calendar navigation
This commit is contained in:
@@ -249,7 +249,11 @@ class _MIHHomeState extends State<MIHHome> {
|
|||||||
onTap: () {
|
onTap: () {
|
||||||
Navigator.of(context).pushNamed(
|
Navigator.of(context).pushNamed(
|
||||||
'/calendar',
|
'/calendar',
|
||||||
arguments: CalendarArguments(widget.signedInUser, true),
|
arguments: CalendarArguments(
|
||||||
|
widget.signedInUser,
|
||||||
|
true,
|
||||||
|
widget.business,
|
||||||
|
),
|
||||||
);
|
);
|
||||||
},
|
},
|
||||||
tileName: "Calendar",
|
tileName: "Calendar",
|
||||||
@@ -425,7 +429,11 @@ class _MIHHomeState extends State<MIHHome> {
|
|||||||
onTap: () {
|
onTap: () {
|
||||||
Navigator.of(context).pushNamed(
|
Navigator.of(context).pushNamed(
|
||||||
'/calendar',
|
'/calendar',
|
||||||
arguments: CalendarArguments(widget.signedInUser, false),
|
arguments: CalendarArguments(
|
||||||
|
widget.signedInUser,
|
||||||
|
false,
|
||||||
|
widget.business,
|
||||||
|
),
|
||||||
);
|
);
|
||||||
},
|
},
|
||||||
tileName: "Calendar",
|
tileName: "Calendar",
|
||||||
|
|||||||
Reference in New Issue
Block a user