Skip to content

Commit

Permalink
Include JFIF extension in the list of previewable files.
Browse files Browse the repository at this point in the history
  • Loading branch information
MaddTheSane committed Mar 18, 2023
1 parent 62e20e0 commit a967841
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion QuickComic/DTQuickComicCommon.m
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@
CFBridgingRelease(UTTypeCopyAllTagsWithClass((__bridge CFStringRef)uti, kUTTagClassFilenameExtension));
[imageExtensions addObjectsFromArray:filenameExtensions];
}
imageFileTypes = imageExtensions;
[imageExtensions addObject:@"jfif"];
imageFileTypes = [imageExtensions copy];
});

NSMutableArray * fileDescriptions = [[NSMutableArray alloc] initWithCapacity: [archive numberOfEntries]];
Expand Down
1 change: 1 addition & 0 deletions QuickComic/QuickComic Preview/QuickComicCommonSwift.swift
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ private let imageFileTypes = {
imageExtensions.formUnion(tmpExt)
}
}
imageExtensions.insert("jfif")
return imageExtensions
}()

Expand Down

0 comments on commit a967841

Please sign in to comment.