This commit is contained in:
Nopylacetat
2023-10-20 22:31:21 +02:00
parent 2cc596eab8
commit 63c2dfa800

View File

@@ -54,16 +54,13 @@ class _SplashPageState extends State<SplashPage> {
Provider.of<Feed>(context, listen: false).feed; Provider.of<Feed>(context, listen: false).feed;
return Scaffold( return Scaffold(
appBar: AppBar(actions: [
IconButton(
onPressed: () => DbHelper.logout(),
icon: const Icon(Icons.logout),
)
]),
body: tabs.elementAt(currentPageIndex), body: tabs.elementAt(currentPageIndex),
// const Column(
// children: [
// Text('Logged in!'),
// TextButton(
// onPressed: DbHelper.logout,
// child: Text('Log out'),
// ),
// ],
// ),
bottomNavigationBar: BottomNavigationBar( bottomNavigationBar: BottomNavigationBar(
items: const <BottomNavigationBarItem>[ items: const <BottomNavigationBarItem>[
BottomNavigationBarItem( BottomNavigationBarItem(