change flow after add patient
This commit is contained in:
@@ -101,7 +101,7 @@ class _AddPatientState extends State<AddPatient> {
|
|||||||
}),
|
}),
|
||||||
);
|
);
|
||||||
if (response.statusCode == 201) {
|
if (response.statusCode == 201) {
|
||||||
Navigator.of(context).pushNamed('/patient-profile',
|
Navigator.of(context).popAndPushNamed('/patient-profile',
|
||||||
arguments: PatientViewArguments(
|
arguments: PatientViewArguments(
|
||||||
widget.signedInUser, null, null, null, "personal"));
|
widget.signedInUser, null, null, null, "personal"));
|
||||||
String message =
|
String message =
|
||||||
|
|||||||
Reference in New Issue
Block a user