Skip to content

Commit 6013b09

Browse files
committed
Reduced by 2 lines
1 parent 3f9f7ec commit 6013b09

1 file changed

Lines changed: 2 additions & 5 deletions

File tree

lib/layouts/TabletLayout.dart

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,7 @@ class _TabletlayoutState extends State<Tabletlayout> {
3636
selectedIndexInNavigationBar = index;
3737
});
3838
} else {
39-
Navigator.push(
40-
context,
41-
MaterialPageRoute(builder: (context) => SettingsPage()),
42-
);
39+
Navigator.push(context, MaterialPageRoute(builder: (context) => SettingsPage()));
4340
}
4441
},
4542
body: getSelectedPage(),
@@ -88,4 +85,4 @@ class ExercisePage extends StatelessWidget{
8885
),
8986
);
9087
}
91-
}
88+
}

0 commit comments

Comments
 (0)