Commit d35a8c49 authored by Dragoș Tiselice's avatar Dragoș Tiselice Committed by GitHub

Changed BottomNavigationBar background. (#6005)

When switching from shifting to fixed, the BottomNavigationBar no
longer displays the old color of the background.
parent 49df2354
......@@ -446,7 +446,7 @@ class BottomNavigationBarState extends State<BottomNavigationBar> {
new Positioned.fill(
child: new Material( // Casts shadow.
elevation: 8,
color: _backgroundColor
color: config.type == BottomNavigationBarType.shifting ? _backgroundColor : null
)
),
new SizedBox(
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment