mirror of
https://github.com/yattee/yattee.git
synced 2024-12-22 13:33:42 +00:00
Fix crash
This commit is contained in:
parent
9cc9c74f97
commit
f6569db418
@ -295,8 +295,8 @@ struct Video: Identifiable, Equatable, Hashable {
|
||||
}
|
||||
|
||||
var localStreamIsRemoteURL: Bool {
|
||||
guard let localStream else { return false }
|
||||
return !localStream.localURL.isFileURL
|
||||
guard let url = localStream?.localURL else { return false }
|
||||
return url.isFileURL
|
||||
}
|
||||
|
||||
var localStreamIsDirectory: Bool {
|
||||
|
Loading…
Reference in New Issue
Block a user