change arges to cater for selected patient
This commit is contained in:
parent
09538be196
commit
e7523377ff
4 changed files with 16 additions and 6 deletions
|
|
@ -38,11 +38,11 @@ class RouteGenerator {
|
|||
return _errorRoute();
|
||||
|
||||
case '/patient-manager':
|
||||
if (args is String) {
|
||||
if (args is AppUser) {
|
||||
//print("route generator: $args");
|
||||
return MaterialPageRoute(
|
||||
builder: (_) => PatientManager(
|
||||
userEmail: args,
|
||||
signedInUser: args,
|
||||
),
|
||||
);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue