add business field to calendar navigation
This commit is contained in:
parent
f9055f3f05
commit
506f523d79
1 changed files with 10 additions and 2 deletions
|
|
@ -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",
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue