mirror of
https://github.com/yattee/yattee.git
synced 2025-08-09 20:24:06 +00:00
fix picture in picture
Signed-off-by: Toni Förster <toni.foerster@gmail.com>
This commit is contained in:
@@ -383,7 +383,7 @@ struct PlayerControls: View {
|
||||
}
|
||||
|
||||
private var pipButton: some View {
|
||||
button("PiP", systemImage: player.pipImage, action: player.togglePiPAction)
|
||||
button("PiP", systemImage: player.pipImage, active: player.playingInPictureInPicture, action: player.togglePiPAction)
|
||||
.disabled(!player.pipPossible)
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user