yattee/Shared/Views/PlaylistVideosView.swift

18 lines
339 B
Swift
Raw Normal View History

2021-08-29 21:36:18 +00:00
import Siesta
import SwiftUI
struct PlaylistVideosView: View {
let playlist: Playlist
init(_ playlist: Playlist) {
self.playlist = playlist
}
var body: some View {
VideosView(videos: playlist.videos)
#if !os(tvOS)
.navigationTitle("\(playlist.title) Playlist")
#endif
}
}