Add SafeArea to bottom bar
[skip ci]
This commit is contained in:
parent
f09dd77634
commit
ed9fe3dcf8
1 changed files with 8 additions and 6 deletions
|
|
@ -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'),
|
||||
],
|
||||
),
|
||||
),
|
||||
),
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue