diff --git a/Shared/Player/VideoPlayerView.swift b/Shared/Player/VideoPlayerView.swift index 5eec75ee..15ffc0a8 100644 --- a/Shared/Player/VideoPlayerView.swift +++ b/Shared/Player/VideoPlayerView.swift @@ -53,16 +53,11 @@ struct VideoPlayerView: View { HStack(spacing: 0) { content .onAppear { - playerSize = geometry.size - #if os(iOS) configureOrientationUpdatesBasedOnAccelerometer() #endif } } - .onChange(of: geometry.size) { size in - self.playerSize = size - } .onChange(of: fullScreenDetails) { value in player.backend.setNeedsDrawing(!value) }