Fix placeholders

This commit is contained in:
Arkadiusz Fal
2022-12-14 17:20:24 +01:00
parent 2028446d03
commit 71c666ebfe
6 changed files with 15 additions and 14 deletions

View File

@@ -20,6 +20,10 @@ struct ContentItem: Identifiable {
}
}
static var placeholders: [Self] {
(0 ..< 9).map { i in .init(id: String(i)) }
}
var video: Video!
var playlist: ChannelPlaylist!
var channel: Channel!