commit db763d07fea0d2d75f0a4d1abc2f6c6a57762a3e
parent e6a512649486fe5bbf6e4be992423d1daa7d793f
Author: Thomas <31560900+0xtlt@users.noreply.github.com>
Date: Fri, 23 Dec 2022 19:44:52 +0100
WEBP
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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