From b14ab2034ddb3a1fce976b2217ea84d3fae4e72f Mon Sep 17 00:00:00 2001 From: kintan Date: Sun, 17 Mar 2024 23:31:26 +0800 Subject: [PATCH] fix subtitleview --- Sources/KSPlayer/SwiftUI/KSVideoPlayerView.swift | 4 ---- 1 file changed, 4 deletions(-) diff --git a/Sources/KSPlayer/SwiftUI/KSVideoPlayerView.swift b/Sources/KSPlayer/SwiftUI/KSVideoPlayerView.swift index d5458c008..c6bace4c2 100644 --- a/Sources/KSPlayer/SwiftUI/KSVideoPlayerView.swift +++ b/Sources/KSPlayer/SwiftUI/KSVideoPlayerView.swift @@ -57,16 +57,12 @@ public struct KSVideoPlayerView: View { ZStack { GeometryReader { proxy in playView - #if os(xrOS) HStack { Spacer() VideoSubtitleView(model: playerCoordinator.subtitleModel) Spacer() } .padding() - #else - VideoSubtitleView(model: playerCoordinator.subtitleModel) - #endif controllerView(playerWidth: proxy.size.width) #if os(tvOS) if isDropdownShow {