mirror of
https://github.com/Dr-Blank/Vaani.git
synced 2026-07-06 01:11:45 +00:00
Update player height calculation to use full screen height
This commit is contained in:
parent
de94be965a
commit
99fb8264f1
3 changed files with 43 additions and 7 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue