We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5407b11 commit 907dcc3Copy full SHA for 907dcc3
Sources/General/ImageSource/LivePhotoSource.swift
@@ -195,10 +195,10 @@ extension LivePhotoResource.FileType {
195
extension Resource {
196
var guessedFileType: LivePhotoResource.FileType {
197
let pathExtension = downloadURL.pathExtension.lowercased()
198
- return switch pathExtension {
199
- case "mov": .mov
200
- case "heic": .heic
201
- default: .other(pathExtension)
+ switch pathExtension {
+ case "mov": return .mov
+ case "heic": return .heic
+ default: return .other(pathExtension)
202
}
203
204
0 commit comments