mirror of
https://github.com/yattee/yattee.git
synced 2025-08-09 20:24:06 +00:00
Minor UI improvements, state saving
This commit is contained in:
12
Model/Channel.swift
Normal file
12
Model/Channel.swift
Normal file
@@ -0,0 +1,12 @@
|
||||
import AVFoundation
|
||||
import Defaults
|
||||
import Foundation
|
||||
|
||||
struct Channel: Codable, Defaults.Serializable {
|
||||
var id: String
|
||||
var name: String
|
||||
|
||||
static func from(video: Video) -> Channel {
|
||||
Channel(id: video.channelID, name: video.author)
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user