mirror of
https://github.com/yattee/yattee.git
synced 2025-10-11 01:48:12 +00:00
Settings for iOS/macOS
This commit is contained in:
@@ -160,11 +160,7 @@ struct Video: Identifiable, Equatable {
|
||||
}
|
||||
|
||||
func streamWithResolution(_ resolution: Stream.Resolution) -> Stream? {
|
||||
selectableStreams.first { $0.resolution == resolution }
|
||||
}
|
||||
|
||||
func defaultStreamForProfile(_ profile: Profile) -> Stream? {
|
||||
streamWithResolution(profile.defaultStreamResolution.value) ?? streams.first
|
||||
selectableStreams.first { $0.resolution == resolution } ?? defaultStream
|
||||
}
|
||||
|
||||
func thumbnailURL(quality: Thumbnail.Quality) -> URL? {
|
||||
|
Reference in New Issue
Block a user