replace wrapped value assignments with direct assignments
This commit is contained in:
parent
df610568f8
commit
0363324999
|
@ -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
|
||||
})
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue