add prompt confirmation and update carton
This commit is contained in:
@@ -77,9 +77,7 @@ class _TermEditState extends State<TermEdit> {
|
||||
size: 30,
|
||||
),
|
||||
onPressed: () {
|
||||
showConfirmDialog(context, "back.button_confirm", () {
|
||||
Navigator.of(context).pop();
|
||||
});
|
||||
Navigator.of(context).pop();
|
||||
},
|
||||
),
|
||||
shadowColor: Colors.transparent,
|
||||
|
||||
Reference in New Issue
Block a user