Fix image uploading

This commit is contained in:
William Casarin
2023-03-27 11:55:59 -04:00
parent e3283fc8f8
commit 74dbbcf1a2
2 changed files with 3 additions and 4 deletions

View File

@@ -14,7 +14,7 @@ enum MediaUpload {
case video(URL)
var is_image: Bool {
guard case .image = self else {
if case .image = self {
return true
}