Enlarge video card and row fonts on macOS

This commit is contained in:
Arkadiusz Fal
2026-04-20 21:34:14 +02:00
parent d2b6a158db
commit 7d95a11286
2 changed files with 14 additions and 0 deletions

View File

@@ -30,6 +30,10 @@ struct VideoCardView: View {
private var titleFont: Font { isCompact ? .subheadline : .body }
private var authorFont: Font { isCompact ? .caption : .subheadline }
private var metadataFont: Font { isCompact ? .caption : .caption }
#elseif os(macOS)
private var titleFont: Font { .body }
private var authorFont: Font { isCompact ? .caption : .subheadline }
private var metadataFont: Font { isCompact ? .caption2 : .caption }
#else
private var titleFont: Font { .subheadline }
private var authorFont: Font { isCompact ? .caption2 : .caption }

View File

@@ -38,6 +38,16 @@ struct VideoRowView: View {
private var metadataFont: Font {
style == .compact ? .caption2 : .caption
}
#elseif os(macOS)
private var titleFont: Font {
style == .compact ? .subheadline : .body
}
private var authorFont: Font {
style == .compact ? .caption : .subheadline
}
private var metadataFont: Font {
style == .compact ? .caption2 : .caption
}
#else
private var titleFont: Font {
.subheadline