butter menu buttons
This commit is contained in:
parent
ac37a352ea
commit
ee25bba5b8
1 changed files with 12 additions and 12 deletions
|
@ -107,6 +107,11 @@ class MainPageState extends State<MainPage> {
|
|||
Text('Do you want to reset „${v.name}“ Vault?'),
|
||||
actions: [
|
||||
TextButton(
|
||||
onPressed: () {
|
||||
Navigator.of(context).pop();
|
||||
},
|
||||
child: const Text('Cancel')),
|
||||
FilledButton(
|
||||
child: const Text('Reset'),
|
||||
onPressed: () {
|
||||
setState(() {
|
||||
|
@ -117,11 +122,6 @@ class MainPageState extends State<MainPage> {
|
|||
Navigator.of(context).pop();
|
||||
},
|
||||
),
|
||||
TextButton(
|
||||
onPressed: () {
|
||||
Navigator.of(context).pop();
|
||||
},
|
||||
child: const Text('Cancle'))
|
||||
],
|
||||
);
|
||||
},
|
||||
|
@ -143,6 +143,11 @@ class MainPageState extends State<MainPage> {
|
|||
'Do you want to delete „${v.name}“ Vault?'),
|
||||
actions: [
|
||||
TextButton(
|
||||
onPressed: () {
|
||||
Navigator.of(context).pop();
|
||||
},
|
||||
child: const Text('Cancel')),
|
||||
FilledButton(
|
||||
child: const Text('Delete'),
|
||||
onPressed: () {
|
||||
setState(() {
|
||||
|
@ -154,11 +159,6 @@ class MainPageState extends State<MainPage> {
|
|||
Navigator.of(context).pop();
|
||||
},
|
||||
),
|
||||
TextButton(
|
||||
onPressed: () {
|
||||
Navigator.of(context).pop();
|
||||
},
|
||||
child: const Text('Cancle'))
|
||||
],
|
||||
);
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue