Change cancel to back
This commit is contained in:
parent
89012baa88
commit
b3886ccfae
|
|
@ -146,6 +146,7 @@ class EditScaffold extends StatelessWidget {
|
||||||
isHeader: true,
|
isHeader: true,
|
||||||
isCancelEnabled: isCancelEnabled,
|
isCancelEnabled: isCancelEnabled,
|
||||||
saveLabel: saveLabel,
|
saveLabel: saveLabel,
|
||||||
|
cancelLabel: localization.back,
|
||||||
onSavePressed: (context) {
|
onSavePressed: (context) {
|
||||||
// Clear focus now to prevent un-focus after save from
|
// Clear focus now to prevent un-focus after save from
|
||||||
// marking the form as changed and to hide the keyboard
|
// marking the form as changed and to hide the keyboard
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue