Skip to content

Commit

Permalink
fix(danmu)
Browse files Browse the repository at this point in the history
  • Loading branch information
liuchuancong committed Jan 14, 2025
1 parent 32b7337 commit fc96412
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -521,6 +521,8 @@ class VideoController with ChangeNotifier {

void enterPipMode(BuildContext context) async {
if ((Platform.isAndroid || Platform.isIOS)) {
danmakuController.onClear();
danmakuController.resume();
await pip.enable(ImmediatePiP());
}
}
Expand Down

0 comments on commit fc96412

Please sign in to comment.