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