1
0
mirror of https://github.com/yattee/yattee.git synced 2024-12-14 14:20:32 +05:30

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 b3cb5f0706
commit 676d0f7723

View File

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