When user saves course edits, return to details page (#5012)
This commit is contained in:
parent
8e888dde58
commit
f3dbf86ce2
1 changed files with 4 additions and 0 deletions
|
|
@ -103,6 +103,10 @@ class EditCourseController extends State<EditCourse> {
|
|||
),
|
||||
);
|
||||
}
|
||||
|
||||
if (!resp.isError) {
|
||||
Navigator.of(context).pop();
|
||||
}
|
||||
}
|
||||
|
||||
Future<void> _setAvatarAction() async {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue