Skip to content

Commit

Permalink
Remove superfluous selves (#723)
Browse files Browse the repository at this point in the history
  • Loading branch information
defagos authored Jan 9, 2024
1 parent 2dceca0 commit 1699fb9
Showing 1 changed file with 10 additions and 11 deletions.
21 changes: 10 additions & 11 deletions Demo/Sources/ContentLists/ContentListsView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -29,15 +29,15 @@ struct ContentListsView: View {

private static func content() -> some View {
Group {
Self.section(for: .tvTopics, image: "tv", vendors: [.RSI, .RTR, .RTS, .SRF, .SWI])
Self.section(for: .tvLatestMedias, image: "play.tv", vendors: [.RSI, .RTR, .RTS, .SRF, .SWI])
Self.section(for: .tvLivestreams, image: "livephoto.play", vendors: [.RSI, .RTR, .RTS, .SRF])
Self.section(for: .tvShows, image: "rectangle.on.rectangle.angled", vendors: [.RSI, .RTR, .RTS, .SRF])
Self.section(for: .liveCenterVideos, image: "sportscourt", vendors: [.RSI, .RTS, .SRF])
Self.section(for: .tvScheduledLivestreams, image: "globe", vendors: [.RSI, .RTR, .RTS, .SRF])
Self.section(for: .radioLivestreams, image: "antenna.radiowaves.left.and.right", vendors: [.RSI, .RTR, .RTS, .SRF])
Self.radioShows(image: "waveform")
Self.latestAudiosSection(image: "music.note.list")
section(for: .tvTopics, image: "tv", vendors: [.RSI, .RTR, .RTS, .SRF, .SWI])
section(for: .tvLatestMedias, image: "play.tv", vendors: [.RSI, .RTR, .RTS, .SRF, .SWI])
section(for: .tvLivestreams, image: "livephoto.play", vendors: [.RSI, .RTR, .RTS, .SRF])
section(for: .tvShows, image: "rectangle.on.rectangle.angled", vendors: [.RSI, .RTR, .RTS, .SRF])
section(for: .liveCenterVideos, image: "sportscourt", vendors: [.RSI, .RTS, .SRF])
section(for: .tvScheduledLivestreams, image: "globe", vendors: [.RSI, .RTR, .RTS, .SRF])
section(for: .radioLivestreams, image: "antenna.radiowaves.left.and.right", vendors: [.RSI, .RTR, .RTS, .SRF])
radioShows(image: "waveform")
latestAudiosSection(image: "music.note.list")
}
.tracked(name: "lists")
}
Expand Down Expand Up @@ -136,8 +136,7 @@ private extension View {
@ViewBuilder
func businessUnitStyle() -> some View {
#if os(tvOS)
self
.frame(width: 450, height: 250, alignment: .center)
frame(width: 450, height: 250, alignment: .center)
.padding(10)
.scaleEffect(0.5)
.background(
Expand Down

0 comments on commit 1699fb9

Please sign in to comment.