ok this works my bad

This commit is contained in:
cranci1 2025-02-15 17:25:45 +01:00
parent 94e2447f64
commit 152b4d585f

View file

@ -241,7 +241,7 @@ struct CustomMediaPlayer: View {
.foregroundColor(.white)
.font(.headline)
}
if !subtitlesURL?.isEmpty {
if let url = subtitlesURL, !url.isEmpty {
Menu {
Menu("Subtitle Foreground Color") {
Button("White") { subtitleForegroundColor = "white" }