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 {
guard let localStream else { return false }
return !localStream.localURL.isFileURL
guard let url = localStream?.localURL else { return false }
return url.isFileURL
}
var localStreamIsDirectory: Bool {