Compare commits
No commits in common. "ee25bba5b8dddf9445747d26c08b31a7e0249e33" and "0c55e59bcec03eb89d4fcd654ed665fb767958b1" have entirely different histories.
ee25bba5b8
...
0c55e59bce
2 changed files with 12 additions and 18 deletions
|
@ -148,12 +148,6 @@ class _QuizPageState extends State<QuizPage> {
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
floatingActionButton: askState != -1
|
|
||||||
? FloatingActionButton.extended(
|
|
||||||
onPressed: _nextQuestion,
|
|
||||||
icon: const Icon(Icons.chevron_right),
|
|
||||||
label: const Text("Next"))
|
|
||||||
: null,
|
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -107,11 +107,6 @@ class MainPageState extends State<MainPage> {
|
||||||
Text('Do you want to reset „${v.name}“ Vault?'),
|
Text('Do you want to reset „${v.name}“ Vault?'),
|
||||||
actions: [
|
actions: [
|
||||||
TextButton(
|
TextButton(
|
||||||
onPressed: () {
|
|
||||||
Navigator.of(context).pop();
|
|
||||||
},
|
|
||||||
child: const Text('Cancel')),
|
|
||||||
FilledButton(
|
|
||||||
child: const Text('Reset'),
|
child: const Text('Reset'),
|
||||||
onPressed: () {
|
onPressed: () {
|
||||||
setState(() {
|
setState(() {
|
||||||
|
@ -122,6 +117,11 @@ class MainPageState extends State<MainPage> {
|
||||||
Navigator.of(context).pop();
|
Navigator.of(context).pop();
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
|
TextButton(
|
||||||
|
onPressed: () {
|
||||||
|
Navigator.of(context).pop();
|
||||||
|
},
|
||||||
|
child: const Text('Cancle'))
|
||||||
],
|
],
|
||||||
);
|
);
|
||||||
},
|
},
|
||||||
|
@ -143,11 +143,6 @@ class MainPageState extends State<MainPage> {
|
||||||
'Do you want to delete „${v.name}“ Vault?'),
|
'Do you want to delete „${v.name}“ Vault?'),
|
||||||
actions: [
|
actions: [
|
||||||
TextButton(
|
TextButton(
|
||||||
onPressed: () {
|
|
||||||
Navigator.of(context).pop();
|
|
||||||
},
|
|
||||||
child: const Text('Cancel')),
|
|
||||||
FilledButton(
|
|
||||||
child: const Text('Delete'),
|
child: const Text('Delete'),
|
||||||
onPressed: () {
|
onPressed: () {
|
||||||
setState(() {
|
setState(() {
|
||||||
|
@ -159,6 +154,11 @@ class MainPageState extends State<MainPage> {
|
||||||
Navigator.of(context).pop();
|
Navigator.of(context).pop();
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
|
TextButton(
|
||||||
|
onPressed: () {
|
||||||
|
Navigator.of(context).pop();
|
||||||
|
},
|
||||||
|
child: const Text('Cancle'))
|
||||||
],
|
],
|
||||||
);
|
);
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue