mirror of
https://github.com/KRTirtho/spotube.git
synced 2025-09-13 07:55:18 +00:00
chore: fix not closing player
This commit is contained in:
parent
d645f607ac
commit
0f6d0a44ea
@ -95,9 +95,8 @@ class PlayerView extends HookConsumerWidget {
|
||||
final topPadding = MediaQueryData.fromView(View.of(context)).padding.top;
|
||||
|
||||
return PopScope(
|
||||
canPop: panelController.isPanelOpen,
|
||||
onPopInvoked: (canPop) async {
|
||||
if (!canPop) return;
|
||||
canPop: false,
|
||||
onPopInvoked: (didPop) async {
|
||||
panelController.close();
|
||||
},
|
||||
child: IconTheme(
|
||||
|
Loading…
Reference in New Issue
Block a user