File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -39,6 +39,10 @@ class _AddExerciseScreenState extends State<AddExerciseScreen> {
39
39
Row (
40
40
mainAxisAlignment: MainAxisAlignment .spaceAround,
41
41
children: [
42
+ OutlinedButton (
43
+ onPressed: details.onStepCancel,
44
+ child: Text (AppLocalizations .of (context).previous),
45
+ ),
42
46
if (_currentStep == lastStepIndex)
43
47
ElevatedButton (
44
48
onPressed: () async {
@@ -50,14 +54,10 @@ class _AddExerciseScreenState extends State<AddExerciseScreen> {
50
54
child: Text (AppLocalizations .of (context).save),
51
55
)
52
56
else
53
- OutlinedButton (
57
+ ElevatedButton (
54
58
onPressed: details.onStepContinue,
55
59
child: Text (AppLocalizations .of (context).next),
56
60
),
57
- OutlinedButton (
58
- onPressed: details.onStepCancel,
59
- child: Text (AppLocalizations .of (context).previous),
60
- ),
61
61
],
62
62
),
63
63
],
You can’t perform that action at this time.
0 commit comments