mirror of
https://github.com/yattee/yattee.git
synced 2026-05-13 02:45:03 +00:00
Resize TV controls
This commit is contained in:
@@ -122,7 +122,7 @@ struct TVPlayerControlsView: View {
|
|||||||
if let video = playerState?.currentVideo {
|
if let video = playerState?.currentVideo {
|
||||||
ChannelAvatarView(
|
ChannelAvatarView(
|
||||||
author: video.author,
|
author: video.author,
|
||||||
size: 110,
|
size: 80,
|
||||||
yatteeServerURL: yatteeServerURL,
|
yatteeServerURL: yatteeServerURL,
|
||||||
source: video.id.source
|
source: video.id.source
|
||||||
)
|
)
|
||||||
@@ -131,7 +131,7 @@ struct TVPlayerControlsView: View {
|
|||||||
VStack(alignment: .leading, spacing: 8) {
|
VStack(alignment: .leading, spacing: 8) {
|
||||||
// Video title
|
// Video title
|
||||||
Text(playerState?.currentVideo?.title ?? "")
|
Text(playerState?.currentVideo?.title ?? "")
|
||||||
.font(.title2)
|
.font(.headline)
|
||||||
.fontWeight(.semibold)
|
.fontWeight(.semibold)
|
||||||
.lineLimit(2)
|
.lineLimit(2)
|
||||||
.foregroundStyle(.white)
|
.foregroundStyle(.white)
|
||||||
@@ -139,7 +139,7 @@ struct TVPlayerControlsView: View {
|
|||||||
// Channel name
|
// Channel name
|
||||||
if let channelName = playerState?.currentVideo?.author.name {
|
if let channelName = playerState?.currentVideo?.author.name {
|
||||||
Text(channelName)
|
Text(channelName)
|
||||||
.font(.headline)
|
.font(.subheadline)
|
||||||
.foregroundStyle(.white.opacity(0.7))
|
.foregroundStyle(.white.opacity(0.7))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user