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:
Vishesh Handa
2019-10-09 16:50:04 +02:00
parent 48b3cf6ba7
commit 94df2853c0

View File

@ -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'),
),
],
);