Fix crash

This commit is contained in:
Arkadiusz Fal 2023-04-23 13:11:30 +02:00
parent 9cc9c74f97
commit f6569db418

View File

@ -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 {