change flow after add patient
This commit is contained in:
parent
315789bef5
commit
c06ae5169d
1 changed files with 1 additions and 1 deletions
|
|
@ -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 =
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue