diff --git a/Shared/Player/Controls/PlayerControls.swift b/Shared/Player/Controls/PlayerControls.swift index b2bc4981..84d0f950 100644 --- a/Shared/Player/Controls/PlayerControls.swift +++ b/Shared/Player/Controls/PlayerControls.swift @@ -181,7 +181,7 @@ struct PlayerControls: View { #endif } } - .opacity(model.presentingControls ? 1 : 0) + .opacity(model.presentingControls && !player.availableStreams.isEmpty ? 1 : 0) } } .frame(maxWidth: .infinity) diff --git a/Shared/Videos/VideoCell.swift b/Shared/Videos/VideoCell.swift index 00d2b6c8..b60418ee 100644 --- a/Shared/Videos/VideoCell.swift +++ b/Shared/Videos/VideoCell.swift @@ -348,7 +348,7 @@ struct VideoCell: View { DetailBadge(text: video.author, style: .prominent) .foregroundColor(.primary) } else { - Text(video.channel.name) + Text(verbatim: video.channel.name) .fontWeight(.semibold) .foregroundColor(.secondary) } @@ -473,7 +473,7 @@ struct VideoCell: View { } private func videoDetail(_ text: String, lineLimit: Int = 1) -> some View { - Text(text) + Text(verbatim: text) .fontWeight(.bold) .lineLimit(lineLimit) .truncationMode(.middle)