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