mirror of
https://github.com/yattee/yattee.git
synced 2025-10-14 11:28:13 +00:00
View options, video details screen
This commit is contained in:
12
Model/Thumbnail.swift
Normal file
12
Model/Thumbnail.swift
Normal file
@@ -0,0 +1,12 @@
|
||||
import Foundation
|
||||
import SwiftyJSON
|
||||
|
||||
struct Thumbnail {
|
||||
var url: URL
|
||||
var quality: String
|
||||
|
||||
init(_ json: JSON) {
|
||||
url = json["url"].url!
|
||||
quality = json["quality"].string!
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user