From 036332499986ca40aeea208dae649cc1ea092d31 Mon Sep 17 00:00:00 2001 From: Stephen Byatt <47413006+stephenb10@users.noreply.github.com> Date: Sun, 27 Jun 2021 13:43:25 +1000 Subject: [PATCH] replace wrapped value assignments with direct assignments --- JellyfinPlayer/VideoPlayerSettingsView.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/JellyfinPlayer/VideoPlayerSettingsView.swift b/JellyfinPlayer/VideoPlayerSettingsView.swift index 0bb56e77..c7045849 100644 --- a/JellyfinPlayer/VideoPlayerSettingsView.swift +++ b/JellyfinPlayer/VideoPlayerSettingsView.swift @@ -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 }) }