diff --git a/TVBox-macOS.dmg b/TVBox-macOS.dmg deleted file mode 100644 index 3c9b5af..0000000 Binary files a/TVBox-macOS.dmg and /dev/null differ diff --git a/tvbox/Views/Player/PlayerView.swift b/tvbox/Views/Player/PlayerView.swift index 4744ecc..8db60d4 100644 --- a/tvbox/Views/Player/PlayerView.swift +++ b/tvbox/Views/Player/PlayerView.swift @@ -355,7 +355,8 @@ struct AVPlayerContentView: View { Text(currentTime.durationString) .font(.system(size: 11, weight: .semibold, design: .monospaced)) .foregroundColor(.white.opacity(0.9)) - .frame(width: 45, alignment: .leading) + .lineLimit(1) + .frame(width: 62, alignment: .leading) Slider( value: Binding( @@ -380,7 +381,8 @@ struct AVPlayerContentView: View { Text(duration.durationString) .font(.system(size: 11, weight: .semibold, design: .monospaced)) .foregroundColor(.white.opacity(0.6)) - .frame(width: 45, alignment: .trailing) + .lineLimit(1) + .frame(width: 62, alignment: .trailing) } .padding(.horizontal, 4) diff --git a/tvbox/Views/Player/VLCPlayerView.swift b/tvbox/Views/Player/VLCPlayerView.swift index c06c542..09c3d23 100644 --- a/tvbox/Views/Player/VLCPlayerView.swift +++ b/tvbox/Views/Player/VLCPlayerView.swift @@ -1024,7 +1024,8 @@ struct VLCVodPlayerView: View { Text(currentDisplaySeconds.durationString) .font(.system(size: 11, weight: .semibold, design: .monospaced)) .foregroundColor(.white.opacity(0.9)) - .frame(width: 45, alignment: .leading) + .lineLimit(1) + .frame(width: 62, alignment: .leading) Slider( value: Binding( @@ -1049,7 +1050,8 @@ struct VLCVodPlayerView: View { Text(totalDisplayText) .font(.system(size: 11, weight: .semibold, design: .monospaced)) .foregroundColor(.white.opacity(0.6)) - .frame(width: 45, alignment: .trailing) + .lineLimit(1) + .frame(width: 62, alignment: .trailing) } .padding(.horizontal, 4)