mirror of
https://github.com/Dr-Blank/Vaani.git
synced 2025-12-25 04:19:30 +00:00
intercept back button to minimize player first
and also navigate stack of branches like youtube
This commit is contained in:
parent
ed236ef117
commit
402e264137
4 changed files with 106 additions and 68 deletions
|
|
@ -93,7 +93,7 @@ class AudiobookPlayer extends HookConsumerWidget {
|
|||
minHeight: playerMinHeight,
|
||||
// subtract the height of notches and other system UI
|
||||
maxHeight: playerMaxHeight,
|
||||
controller: ref.watch(miniplayerControllerProvider),
|
||||
controller: audioBookMiniplayerController,
|
||||
elevation: 4,
|
||||
onDismissed: () {
|
||||
// add a delay before closing the player
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue