Reopen #1740 Fix dialog text (#1931)

pull/1935/head
Midori 2 years ago committed by GitHub
parent f9e1a99d1a
commit e461787dc1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -733,11 +733,11 @@ class _DialogsState extends State<Dialogs> {
'A dialog is a type of modal window that appears in front of app content to provide critical information, or prompt for a decision to be made.'), 'A dialog is a type of modal window that appears in front of app content to provide critical information, or prompt for a decision to be made.'),
actions: <Widget>[ actions: <Widget>[
TextButton( TextButton(
child: const Text('Okay'), child: const Text('Dismiss'),
onPressed: () => Navigator.of(context).pop(), onPressed: () => Navigator.of(context).pop(),
), ),
FilledButton( FilledButton(
child: const Text('Dismiss'), child: const Text('Okay'),
onPressed: () => Navigator.of(context).pop(), onPressed: () => Navigator.of(context).pop(),
), ),
], ],

@ -733,11 +733,11 @@ class _DialogsState extends State<Dialogs> {
'A dialog is a type of modal window that appears in front of app content to provide critical information, or prompt for a decision to be made.'), 'A dialog is a type of modal window that appears in front of app content to provide critical information, or prompt for a decision to be made.'),
actions: <Widget>[ actions: <Widget>[
TextButton( TextButton(
child: const Text('Okay'), child: const Text('Dismiss'),
onPressed: () => Navigator.of(context).pop(), onPressed: () => Navigator.of(context).pop(),
), ),
FilledButton( FilledButton(
child: const Text('Dismiss'), child: const Text('Okay'),
onPressed: () => Navigator.of(context).pop(), onPressed: () => Navigator.of(context).pop(),
), ),
], ],

Loading…
Cancel
Save