diff --git a/Model/Video.swift b/Model/Video.swift index 4913d123..f9476c9f 100644 --- a/Model/Video.swift +++ b/Model/Video.swift @@ -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 {