mirror of
https://github.com/yattee/yattee.git
synced 2025-10-11 09:58:14 +00:00
Watch Next behavior and settings
This commit is contained in:
@@ -327,6 +327,10 @@ struct Video: Identifiable, Equatable, Hashable {
|
||||
return path.contains(".") ? path.components(separatedBy: ".").last?.uppercased() : nil
|
||||
}
|
||||
|
||||
var isShareable: Bool {
|
||||
!isLocal || localStreamIsRemoteURL
|
||||
}
|
||||
|
||||
private var localStreamURLComponents: URLComponents? {
|
||||
guard let localStream else { return nil }
|
||||
return URLComponents(url: localStream.localURL, resolvingAgainstBaseURL: false)
|
||||
|
Reference in New Issue
Block a user