forked from yaso_meth/mih-project
patientview takes in signedIn user
This commit is contained in:
@@ -55,10 +55,10 @@ class RouteGenerator {
|
||||
return _errorRoute();
|
||||
|
||||
case '/patient-manager/patient':
|
||||
if (args is Patient) {
|
||||
if (args is AppUser) {
|
||||
return MaterialPageRoute(
|
||||
builder: (_) => PatientView(
|
||||
selectedPatient: args,
|
||||
signedInUser: args,
|
||||
),
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user