Skip to content

Commit

Permalink
fix subtitleview
Browse files Browse the repository at this point in the history
  • Loading branch information
kingslay committed Mar 17, 2024
1 parent 379a9c5 commit b14ab20
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions Sources/KSPlayer/SwiftUI/KSVideoPlayerView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit b14ab20

Please sign in to comment.