mirror of
https://github.com/yattee/yattee.git
synced 2025-08-06 10:44:06 +00:00
Forms improvements for trending and playlists
This commit is contained in:
@@ -22,6 +22,13 @@ struct Playlist: Identifiable, Equatable, Hashable {
|
||||
|
||||
var videos = [Video]()
|
||||
|
||||
init(id: String, title: String, visibility: Visibility, updated: TimeInterval) {
|
||||
self.id = id
|
||||
self.title = title
|
||||
self.visibility = visibility
|
||||
self.updated = updated
|
||||
}
|
||||
|
||||
init(_ json: JSON) {
|
||||
id = json["playlistId"].stringValue
|
||||
title = json["title"].stringValue
|
||||
|
Reference in New Issue
Block a user