mirror of
https://github.com/yattee/yattee.git
synced 2025-08-09 20:24:06 +00:00
CC support with Invidious and MPV
This commit is contained in:
@@ -47,6 +47,11 @@ final class PlayerControlsModel: ObservableObject {
|
||||
|
||||
func handleOverlayPresentationChange() {
|
||||
player?.backend.setNeedsNetworkStateUpdates(presentingControlsOverlay)
|
||||
if presentingControlsOverlay {
|
||||
removeTimer()
|
||||
} else {
|
||||
resetTimer()
|
||||
}
|
||||
}
|
||||
|
||||
func show() {
|
||||
|
Reference in New Issue
Block a user