diff --git a/lib/app/view/mobile_bottom_bar.dart b/lib/app/view/mobile_bottom_bar.dart index 8cb8573a..87255d49 100644 --- a/lib/app/view/mobile_bottom_bar.dart +++ b/lib/app/view/mobile_bottom_bar.dart @@ -2,7 +2,6 @@ import 'package:flutter/material.dart'; import 'package:watch_it/watch_it.dart'; import '../../extensions/build_context_x.dart'; -import '../../player/player_model.dart'; import '../../player/view/bottom_player.dart'; import '../app_model.dart'; import 'mobile_navigation_bar.dart'; @@ -21,10 +20,6 @@ class MobileBottomBar extends StatelessWidget with WatchItMixin { mainAxisSize: MainAxisSize.min, children: [ GestureDetector( - onVerticalDragUpdate: (details) { - di().bottomPlayerHeight = - context.mediaQuerySize.height - details.globalPosition.dy; - }, onVerticalDragEnd: (details) { if (details.primaryVelocity != null && details.primaryVelocity! < 150) { diff --git a/lib/common/data/player_state.dart b/lib/common/data/player_state.dart index 5b52b2e1..eb94674c 100644 --- a/lib/common/data/player_state.dart +++ b/lib/common/data/player_state.dart @@ -11,6 +11,7 @@ class PlayerState { final String? queueName; final List