intercept back button to minimize player first

and also navigate stack of branches like youtube
This commit is contained in:
Dr-Blank 2024-06-20 00:58:12 -04:00
parent ed236ef117
commit 402e264137
No known key found for this signature in database
GPG key ID: 7452CC63F210A266
4 changed files with 106 additions and 68 deletions

View file

@ -58,10 +58,4 @@ double playerHeight(
return playerExpandProgress.value;
}
// a final MiniplayerController controller = MiniplayerController();
@Riverpod(keepAlive: true)
Raw<MiniplayerController> miniplayerController(
MiniplayerControllerRef ref,
) {
return MiniplayerController();
}
final audioBookMiniplayerController = MiniplayerController();