Skip to content

Commit 554e37b

Browse files
committed
Reduced by 2 lines
1 parent 6d71920 commit 554e37b

2 files changed

Lines changed: 2 additions & 8 deletions

File tree

lib/pages/trainings_mode.dart

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -55,10 +55,7 @@ class _TrainingsModeState extends State<TrainingsMode> {
5555
decoration: BoxDecoration(
5656
color: theme.colorScheme.surfaceContainerHigh,
5757
borderRadius: BorderRadius.circular(12),
58-
border: Border.all(
59-
color: theme.colorScheme.outline,
60-
width: 1,
61-
),
58+
border: Border.all(color: theme.colorScheme.outline, width: 1),
6259
),
6360
child: Row(
6461
children: [

lib/ui_elements/my_alert_dialog.dart

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,7 @@ class MyAlertDialog {
2929
onPressed: () {
3030
Navigator.pop(context);
3131
// Return home
32-
Navigator.push(
33-
context,
34-
MaterialPageRoute(builder: (context) => HomePageLayoutHandler()),
35-
);
32+
Navigator.push(context, MaterialPageRoute(builder: (context) => HomePageLayoutHandler()));
3633
},
3734
),
3835
],

0 commit comments

Comments
 (0)