mirror of
https://github.com/yattee/yattee.git
synced 2025-08-05 02:04:07 +00:00
Add Sponsor Block and settings
This commit is contained in:
@@ -31,7 +31,7 @@ struct HorizontalCells: View {
|
||||
.padding(.vertical, 10)
|
||||
#endif
|
||||
}
|
||||
.id(UUID())
|
||||
.id(items.map(\.id).joined())
|
||||
#if os(tvOS)
|
||||
.frame(height: 560)
|
||||
#else
|
||||
|
@@ -17,7 +17,7 @@ struct VerticalCells: View {
|
||||
}
|
||||
.padding()
|
||||
}
|
||||
.id(UUID())
|
||||
.id(items.map(\.id).joined())
|
||||
.edgesIgnoringSafeArea(.horizontal)
|
||||
#if os(macOS)
|
||||
.background()
|
||||
@@ -56,7 +56,7 @@ struct VerticalCells: View {
|
||||
}
|
||||
}
|
||||
|
||||
struct VideoCellsVertical_Previews: PreviewProvider {
|
||||
struct VeticalCells_Previews: PreviewProvider {
|
||||
static var previews: some View {
|
||||
VerticalCells(items: ContentItem.array(of: Video.allFixtures))
|
||||
.injectFixtureEnvironmentObjects()
|
||||
|
Reference in New Issue
Block a user