Merge pull request #13030 from iampopovich/fix/6815-double-tap-to-resume

[fix] Hide controls when resuming playback via double tap
This commit is contained in:
Tobi 2026-02-21 11:08:51 -08:00 committed by GitHub
commit 232d023c02
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -47,6 +47,9 @@ abstract class BasePlayerGestureListener(
startMultiDoubleTap(event)
} else if (portion === DisplayPortion.MIDDLE) {
player.playPause()
if (player.isPlaying) {
playerUi.hideControls(0, 0)
}
}
}