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