From 7d95a11286196ce21ce941aca9b94182f736d97c Mon Sep 17 00:00:00 2001 From: Arkadiusz Fal Date: Mon, 20 Apr 2026 21:34:14 +0200 Subject: [PATCH] Enlarge video card and row fonts on macOS --- Yattee/Views/Components/VideoCardView.swift | 4 ++++ Yattee/Views/Components/VideoRowView.swift | 10 ++++++++++ 2 files changed, 14 insertions(+) diff --git a/Yattee/Views/Components/VideoCardView.swift b/Yattee/Views/Components/VideoCardView.swift index 52c1cad3..5b20bf1d 100644 --- a/Yattee/Views/Components/VideoCardView.swift +++ b/Yattee/Views/Components/VideoCardView.swift @@ -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 } diff --git a/Yattee/Views/Components/VideoRowView.swift b/Yattee/Views/Components/VideoRowView.swift index 3b2e7fe5..b8ce767a 100644 --- a/Yattee/Views/Components/VideoRowView.swift +++ b/Yattee/Views/Components/VideoRowView.swift @@ -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