mirror of
https://github.com/GitJournal/GitJournal.git
synced 2025-06-28 18:03:14 +08:00
@ -203,14 +203,14 @@ class _CreateFolderAlertDialogState extends State<CreateFolderAlertDialog> {
|
|||||||
actions: <Widget>[
|
actions: <Widget>[
|
||||||
FlatButton(
|
FlatButton(
|
||||||
onPressed: () => Navigator.of(context).pop(false),
|
onPressed: () => Navigator.of(context).pop(false),
|
||||||
child: Text(tr("screens.folders.dialog.create")),
|
child: Text(tr("screens.folders.dialog.discard")),
|
||||||
),
|
),
|
||||||
FlatButton(
|
FlatButton(
|
||||||
onPressed: () {
|
onPressed: () {
|
||||||
var newFolderName = _textController.text;
|
var newFolderName = _textController.text;
|
||||||
return Navigator.of(context).pop(newFolderName);
|
return Navigator.of(context).pop(newFolderName);
|
||||||
},
|
},
|
||||||
child: Text(tr("screens.folders.dialog.discard")),
|
child: Text(tr("screens.folders.dialog.create")),
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
content: form,
|
content: form,
|
||||||
|
Reference in New Issue
Block a user