mirror of
https://github.com/yattee/yattee.git
synced 2025-08-04 01:34:10 +00:00
Local videos fixes
This commit is contained in:
@@ -111,12 +111,12 @@ struct PlayerControls: View {
|
||||
|
||||
if playerControlsLayout.displaysTitleLine {
|
||||
VStack(alignment: .leading) {
|
||||
Text(player.currentVideo?.title ?? "Not Playing")
|
||||
Text(player.currentVideo?.displayTitle ?? "Not Playing")
|
||||
.shadow(radius: 10)
|
||||
.font(.system(size: playerControlsLayout.titleLineFontSize).bold())
|
||||
.lineLimit(1)
|
||||
|
||||
Text(player.currentVideo?.channel.name ?? "")
|
||||
Text(player.currentVideo?.displayAuthor ?? "")
|
||||
.fontWeight(.semibold)
|
||||
.shadow(radius: 10)
|
||||
.foregroundColor(.secondary)
|
||||
|
@@ -163,7 +163,7 @@ struct VideoCell: View {
|
||||
.frame(maxWidth: 320)
|
||||
|
||||
VStack(alignment: .leading, spacing: 0) {
|
||||
videoDetail(video.title, lineLimit: 5)
|
||||
videoDetail(video.displayTitle, lineLimit: 5)
|
||||
.frame(minWidth: 0, maxWidth: .infinity, alignment: .leading)
|
||||
|
||||
if !channelOnThumbnail, !inChannelView {
|
||||
@@ -240,7 +240,7 @@ struct VideoCell: View {
|
||||
VStack(alignment: .leading, spacing: 0) {
|
||||
Group {
|
||||
VStack(alignment: .leading, spacing: 0) {
|
||||
videoDetail(video.title, lineLimit: 2)
|
||||
videoDetail(video.displayTitle, lineLimit: 2)
|
||||
#if os(tvOS)
|
||||
.frame(minHeight: 60, alignment: .top)
|
||||
#elseif os(macOS)
|
||||
|
Reference in New Issue
Block a user