diff --git a/lib/pages/main_page.dart b/lib/pages/main_page.dart index 65024a9..f373582 100644 --- a/lib/pages/main_page.dart +++ b/lib/pages/main_page.dart @@ -39,8 +39,9 @@ class MyHomePageState extends State { appBar: AppBar( title: Text( '${pages.keys.elementAt(_selectedIndex)} ${_isConfigured ? "Gruppe $group" : ""}')), - body: SingleChildScrollView( - child: pages.values.elementAt(_selectedIndex)['page']), + body: Center( + child: SingleChildScrollView( + child: pages.values.elementAt(_selectedIndex)['page'])), bottomNavigationBar: NavigationBar( onDestinationSelected: _onItemTapped, selectedIndex: _selectedIndex,