mirror of
https://github.com/yattee/yattee.git
synced 2024-12-22 21:43:41 +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 {
|
var localStreamIsRemoteURL: Bool {
|
||||||
guard let localStream else { return false }
|
guard let url = localStream?.localURL else { return false }
|
||||||
return !localStream.localURL.isFileURL
|
return url.isFileURL
|
||||||
}
|
}
|
||||||
|
|
||||||
var localStreamIsDirectory: Bool {
|
var localStreamIsDirectory: Bool {
|
||||||
|
Loading…
Reference in New Issue
Block a user