1
0
mirror of https://github.com/yattee/yattee.git synced 2025-01-07 18:10:33 +05:30
yattee/Shared/Watch Now/WatchNowSectionBody.swift

22 lines
506 B
Swift
Raw Normal View History

2021-09-19 02:06:42 +05:30
import SwiftUI
struct WatchNowSectionBody: View {
let label: String
let videos: [Video]
var body: some View {
VStack(alignment: .leading, spacing: 2) {
Text(label)
.font(.title3.bold())
.foregroundColor(.secondary)
#if os(tvOS)
.padding(.leading, 40)
#else
.padding(.leading, 15)
#endif
HorizontalCells(items: ContentItem.array(of: videos))
2021-09-19 02:06:42 +05:30
}
}
}