Decrease size of fulls creen video title and author

This commit is contained in:
Arkadiusz Fal 2022-06-26 23:59:49 +02:00
parent 4df919616d
commit c960a82885

View File

@ -40,17 +40,17 @@ struct PlayerControls: View {
buttonsBar buttonsBar
if let video = player.currentVideo, player.playingFullScreen { if let video = player.currentVideo, player.playingFullScreen {
VStack(alignment: .leading, spacing: 8) { VStack(alignment: .leading, spacing: 2) {
Text(video.title) Text(video.title)
.font(.title2.bold()) .font(.caption.bold())
Text(video.author) Text(video.author)
.font(.title3) .font(.caption)
.foregroundColor(.secondary) .foregroundColor(.secondary)
} }
.padding(12) .padding(4)
.modifier(ControlBackgroundModifier()) .modifier(ControlBackgroundModifier())
.clipShape(RoundedRectangle(cornerRadius: 3)) .clipShape(RoundedRectangle(cornerRadius: 2))
.frame(maxWidth: .infinity, alignment: .leading) .frame(maxWidth: .infinity, alignment: .leading)
} }