Add SafeArea to bottom bar

[skip ci]
This commit is contained in:
Tommy Chow 2021-10-05 03:51:14 -04:00
parent f09dd77634
commit ed9fe3dcf8

View file

@ -70,12 +70,14 @@ class Home extends StatelessWidget {
),
],
),
bottomNavigationBar: TabBar(
tabs: [
if (auth.isLoggedIn) const Tab(text: 'Followed'),
const Tab(text: 'Top'),
const Tab(text: 'Categories'),
],
bottomNavigationBar: SafeArea(
child: TabBar(
tabs: [
if (auth.isLoggedIn) const Tab(text: 'Followed'),
const Tab(text: 'Top'),
const Tab(text: 'Categories'),
],
),
),
),
);