Bug fix. Initial height can now be set properly through a custom valueNotifier.
This commit is contained in:
parent
9c944d6230
commit
4d7cf69126
|
@ -104,7 +104,7 @@ class _MiniplayerState extends State<Miniplayer> with TickerProviderStateMixin {
|
||||||
|
|
||||||
_resetAnimationController();
|
_resetAnimationController();
|
||||||
|
|
||||||
_dragHeight = widget.minHeight;
|
_dragHeight = heightNotifier.value;
|
||||||
|
|
||||||
if (widget.controller != null) {
|
if (widget.controller != null) {
|
||||||
widget.controller.addListener(() {
|
widget.controller.addListener(() {
|
||||||
|
|
Loading…
Reference in New Issue