replace wrapped value assignments with direct assignments

This commit is contained in:
Stephen Byatt 2021-06-27 13:43:25 +10:00
parent df610568f8
commit 0363324999
1 changed files with 2 additions and 2 deletions

View File

@ -93,8 +93,8 @@ struct VideoPlayerSettings: View {
}
}.offset(y: UIDevice.current.userInterfaceIdiom == .pad ? 14 : 0)
.onAppear(perform: {
_captionTrack.wrappedValue = self.delegate.selectedCaptionTrack
_audioTrack.wrappedValue = self.delegate.selectedAudioTrack
captionTrack = self.delegate.selectedCaptionTrack
audioTrack = self.delegate.selectedAudioTrack
playbackSpeedSelection = self.delegate.selectedPlaybackSpeedIndex
})
}