mirror of
https://github.com/GitJournal/GitJournal.git
synced 2025-06-28 18:03:14 +08:00
Note Viewer: Delete Dialog: Use more standard Text
After reading the Material Design Guide, I feel some more standard text such as "Delete" / "Cancel" is better vs "Delete It" / "Keep It".
This commit is contained in:
@ -106,14 +106,14 @@ class NoteBrowsingScreenState extends State<NoteBrowsingScreen> {
|
||||
actions: <Widget>[
|
||||
FlatButton(
|
||||
onPressed: () => Navigator.pop(context),
|
||||
child: Text('Keep It'),
|
||||
child: Text('Cancel'),
|
||||
),
|
||||
FlatButton(
|
||||
onPressed: () {
|
||||
Navigator.pop(context); // Alert box
|
||||
_deleteNote(context);
|
||||
},
|
||||
child: Text('Delete It'),
|
||||
child: Text('Delete'),
|
||||
),
|
||||
],
|
||||
);
|
||||
|
Reference in New Issue
Block a user