mirror of
https://gitlab.com/famedly/fluffychat.git
synced 2024-11-24 04:59:26 +01:00
change: Bottom bar divider
This commit is contained in:
parent
5859b7cc55
commit
3185773518
@ -221,19 +221,28 @@ class _HomeViewState extends State<HomeView> with TickerProviderStateMixin {
|
||||
],
|
||||
title: Text(title),
|
||||
),
|
||||
body: TabBarView(
|
||||
body: Column(
|
||||
children: [
|
||||
Expanded(
|
||||
child: TabBarView(
|
||||
controller: _pageController,
|
||||
children: [
|
||||
ContactList(onAppBarButtonTap: _onAppBarButtonTap.stream),
|
||||
ChatList(
|
||||
onCustomAppBar: (appBar) => setState(() => this.appBar = appBar),
|
||||
onCustomAppBar: (appBar) =>
|
||||
setState(() => this.appBar = appBar),
|
||||
onAppBarButtonTap: _onAppBarButtonTap.stream,
|
||||
),
|
||||
Discover(
|
||||
server: _server, onAppBarButtonTap: _onAppBarButtonTap.stream),
|
||||
server: _server,
|
||||
onAppBarButtonTap: _onAppBarButtonTap.stream),
|
||||
Settings(onAppBarButtonTap: _onAppBarButtonTap.stream),
|
||||
],
|
||||
),
|
||||
),
|
||||
Divider(height: 1),
|
||||
],
|
||||
),
|
||||
floatingActionButton: fabIcon == null
|
||||
? null
|
||||
: FloatingActionButton(
|
||||
@ -247,7 +256,7 @@ class _HomeViewState extends State<HomeView> with TickerProviderStateMixin {
|
||||
),
|
||||
floatingActionButtonLocation: FloatingActionButtonLocation.centerDocked,
|
||||
bottomNavigationBar: BottomNavigationBar(
|
||||
elevation: 1,
|
||||
elevation: 0,
|
||||
unselectedItemColor: Theme.of(context).textTheme.bodyText1.color,
|
||||
currentIndex: currentIndex,
|
||||
showSelectedLabels: true,
|
||||
|
Loading…
Reference in New Issue
Block a user