mirror of
https://github.com/yattee/yattee.git
synced 2024-12-13 22:00:31 +05:30
18 lines
339 B
Swift
18 lines
339 B
Swift
|
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
|
||
|
}
|
||
|
}
|