onevcat пре 1 година
родитељ
комит
907dcc3ef5
1 измењених фајлова са 4 додато и 4 уклоњено
  1. 4 4
      Sources/General/ImageSource/LivePhotoSource.swift

+ 4 - 4
Sources/General/ImageSource/LivePhotoSource.swift

@@ -195,10 +195,10 @@ extension LivePhotoResource.FileType {
 extension Resource {
     var guessedFileType: LivePhotoResource.FileType {
         let pathExtension = downloadURL.pathExtension.lowercased()
-        return switch pathExtension {
-        case "mov": .mov
-        case "heic": .heic
-        default: .other(pathExtension)
+        switch pathExtension {
+        case "mov": return .mov
+        case "heic": return .heic
+        default: return .other(pathExtension)
         }
     }
 }