Skip to content

Commit 69d0d7c

Browse files
committed
Reduced by 3 lines
1 parent d6b6530 commit 69d0d7c

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

lib/layouts/DesktopLayout.dart

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,7 @@ class _DesktoplayoutState extends State<Desktoplayout> {
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(),

0 commit comments

Comments
 (0)