add prompt confirmation and update carton
This commit is contained in:
@@ -174,9 +174,7 @@ class _StaffEditorState extends State<StaffEditor> {
|
||||
icon: new Icon(CupertinoIcons.back,
|
||||
color: primaryColor, size: 30),
|
||||
onPressed: () {
|
||||
showConfirmDialog(context, "back.button_confirm", () {
|
||||
Navigator.of(context).pop();
|
||||
});
|
||||
Navigator.of(context).pop();
|
||||
}),
|
||||
shadowColor: Colors.transparent,
|
||||
backgroundColor: Colors.white,
|
||||
|
||||
Reference in New Issue
Block a user