mirror of
https://github.com/yattee/yattee.git
synced 2024-12-14 22:30:32 +05:30
Decrease size of fulls creen video title and author
This commit is contained in:
parent
b3cb5f0706
commit
676d0f7723
@ -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)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user