Add playback mode button controls update

This commit is contained in:
Arkadiusz Fal 2022-08-14 19:58:37 +02:00
parent ac9abaec5a
commit 62769016fc

View File

@ -323,6 +323,7 @@ struct PlayerControls: View {
var playbackModeButton: some View {
button("Playback Mode", systemImage: player.playbackMode.systemImage, background: false) {
player.playbackMode = player.playbackMode.next()
model.objectWillChange.send()
}
}