mirror of
https://github.com/yattee/yattee.git
synced 2026-05-12 18:35:05 +00:00
Enlarge video card and row fonts on macOS
This commit is contained in:
@@ -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 }
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user