Update player height calculation to use full screen height

This commit is contained in:
Dr-Blank 2024-06-20 02:37:24 -04:00
parent de94be965a
commit 99fb8264f1
No known key found for this signature in database
GPG key ID: 7452CC63F210A266
3 changed files with 43 additions and 7 deletions

View file

@ -69,8 +69,7 @@ class AudiobookPlayer extends HookConsumerWidget {
);
// max height of the player is the height of the screen
final playerMaxHeight =
MediaQuery.of(context).size.height * playerMaxHeightPercentOfScreen;
final playerMaxHeight = MediaQuery.of(context).size.height;
final availWidth = MediaQuery.of(context).size.width;