diff --git a/damus/Views/EditMetadataView.swift b/damus/Views/EditMetadataView.swift index 0b27f61..6f71425 100644 --- a/damus/Views/EditMetadataView.swift +++ b/damus/Views/EditMetadataView.swift @@ -16,7 +16,7 @@ func isHttpsUrl(_ string: String) -> Bool { } func isImage(_ urlString: String) -> Bool { - let imageTypes = ["image/jpg", "image/jpeg", "image/png", "image/gif", "image/tiff", "image/bmp"] + let imageTypes = ["image/jpg", "image/jpeg", "image/png", "image/gif", "image/tiff", "image/bmp", "image/webp"] guard let url = URL(string: urlString) else { return false