add two decimal and add confirm dialog if press back button
This commit is contained in:
@@ -51,7 +51,11 @@ class _InvitationCreateState extends State<InvitationCreate> {
|
||||
CupertinoIcons.back,
|
||||
color: primaryColor,
|
||||
),
|
||||
onPressed: () => Navigator.of(context).pop(),
|
||||
onPressed: () {
|
||||
showConfirmDialog(context, "back.button_confirm", () {
|
||||
Navigator.of(context).pop();
|
||||
});
|
||||
},
|
||||
),
|
||||
title: LocalText(
|
||||
context,
|
||||
|
||||
Reference in New Issue
Block a user