mirror of
https://github.com/yattee/yattee.git
synced 2024-12-22 13:33:42 +00:00
Add playback mode button controls update
This commit is contained in:
parent
ac9abaec5a
commit
62769016fc
@ -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()
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user