swap yes and no placements

This commit is contained in:
krawieck 2020-09-23 23:37:26 +02:00
parent 461cc56693
commit f43910ddbe
1 changed files with 8 additions and 8 deletions

View File

@ -104,14 +104,14 @@ class AccountsConfigPage extends HookWidget {
title: Text('Remove instance?'),
content: Text('Are you sure you want to remove $instanceUrl?'),
actions: [
FlatButton(
child: Text('no'),
onPressed: () => Navigator.of(context).pop(false),
),
FlatButton(
child: Text('yes'),
onPressed: () => Navigator.of(context).pop(true),
),
FlatButton(
child: Text('no'),
onPressed: () => Navigator.of(context).pop(false),
)
],
),
) ??
@ -128,14 +128,14 @@ class AccountsConfigPage extends HookWidget {
content: Text(
'Are you sure you want to remove $username@$instanceUrl?'),
actions: [
FlatButton(
child: Text('no'),
onPressed: () => Navigator.of(context).pop(false),
),
FlatButton(
child: Text('yes'),
onPressed: () => Navigator.of(context).pop(true),
),
FlatButton(
child: Text('no'),
onPressed: () => Navigator.of(context).pop(false),
)
],
),
) ??