1
0
mirror of https://gitlab.com/timvisee/send.git synced 2024-11-10 13:13:00 +01:00

Add jpeg 2000 to the list.

This commit is contained in:
Donovan Preston 2018-07-27 10:50:10 -04:00
parent e3601055fc
commit ac1c7c2363
No known key found for this signature in database
GPG Key ID: B43EF44E428C806E
2 changed files with 3 additions and 2 deletions

View File

@ -11,8 +11,9 @@ import WebKit
import MobileCoreServices
var typesToLoad = [("com.adobe.pdf", "application/pdf"), ("public.png", "image/png"),
("public.jpeg", "image/jpeg"), ("com.compuserve.gif", "image/gif"),
("com.microsoft.bmp", "image/bmp"), ("public.plain-text", "text/plain")]
("public.jpeg", "image/jpeg"), ("public.jpeg-2000", "image/jp2"),
("com.compuserve.gif", "image/gif"), ("com.microsoft.bmp", "image/bmp"),
("public.plain-text", "text/plain")]
class ActionViewController: UIViewController, WKScriptMessageHandler {