Make watched checkmark prominent on tvOS thumbnails

Bump glyph size, force white-on-black palette, and add a drop shadow so
the indicator stays readable on unfocused thumbnails from couch distance.
This commit is contained in:
Arkadiusz Fal
2026-05-09 11:35:46 +02:00
parent 9e13bffa8c
commit 9287f5906d

View File

@@ -131,11 +131,20 @@ struct VideoThumbnailView: View {
@ViewBuilder
private var watchedCheckmark: some View {
if isWatched && !isLive {
#if os(tvOS)
Image(systemName: "checkmark.circle.fill")
.font(.system(size: cornerRadius > 6 ? 32 : 22, weight: .bold))
.symbolRenderingMode(.palette)
.foregroundStyle(Color.white, Color.black)
.shadow(color: .black.opacity(0.5), radius: 4, x: 0, y: 2)
.padding(cornerRadius > 6 ? 4 : 2)
#else
Image(systemName: "checkmark.circle.fill")
.font(.system(size: cornerRadius > 6 ? 20 : 14))
.symbolRenderingMode(.palette)
.foregroundStyle(.background, .tint)
.padding(cornerRadius > 6 ? 3 : 2)
#endif
}
}
}