diff --git a/Model/Video.swift b/Model/Video.swift index 79d7c553..2eb32c58 100644 --- a/Model/Video.swift +++ b/Model/Video.swift @@ -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 {