From db763d07fea0d2d75f0a4d1abc2f6c6a57762a3e Mon Sep 17 00:00:00 2001 From: Thomas <31560900+0xtlt@users.noreply.github.com> Date: Fri, 23 Dec 2022 19:44:52 +0100 Subject: [PATCH] WEBP --- damus/Views/EditMetadataView.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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