This commit is contained in:
David Peters 2021-04-18 12:07:30 +02:00
parent 4fa9d07e59
commit 5879fe3502
1 changed files with 1 additions and 2 deletions

View File

@ -192,7 +192,6 @@ class _MiniplayerState extends State<Miniplayer> with TickerProviderStateMixin {
);
},
child: Material(
color: Theme.of(context).canvasColor,
child: Container(
constraints: BoxConstraints.expand(),
child: widget.builder(height, _percentage),
@ -203,7 +202,7 @@ class _MiniplayerState extends State<Miniplayer> with TickerProviderStateMixin {
blurRadius: widget.elevation,
offset: Offset(0.0, 4))
],
color: Colors.white,
color: Theme.of(context).canvasColor,
),
),
),