diff --git a/lib/pages/splash_page.dart b/lib/pages/splash_page.dart index 3c5c7c5..6cda478 100644 --- a/lib/pages/splash_page.dart +++ b/lib/pages/splash_page.dart @@ -54,16 +54,13 @@ class _SplashPageState extends State { Provider.of(context, listen: false).feed; return Scaffold( + appBar: AppBar(actions: [ + IconButton( + onPressed: () => DbHelper.logout(), + icon: const Icon(Icons.logout), + ) + ]), body: tabs.elementAt(currentPageIndex), - // const Column( - // children: [ - // Text('Logged in!'), - // TextButton( - // onPressed: DbHelper.logout, - // child: Text('Log out'), - // ), - // ], - // ), bottomNavigationBar: BottomNavigationBar( items: const [ BottomNavigationBarItem(