diff --git a/WordAX/Info.plist b/WordAX/Info.plist index eb834af..de117e4 100644 --- a/WordAX/Info.plist +++ b/WordAX/Info.plist @@ -5,25 +5,17 @@ CFBundleDocumentTypes - CFBundleIconFiles - - icon - CFBundleTypeName - APKG File + Anki File LSHandlerRank - Default + Alternate LSItemContentTypes - com.wordax.apkg + com.anki.apkg - - LSHandlerRank - Default - - UTExportedTypeDeclarations + UTImportedTypeDeclarations UTTypeConformsTo @@ -31,11 +23,11 @@ public.data UTTypeDescription - APKG Data + Anki File UTTypeIconFiles UTTypeIdentifier - com.wordax.apkg + com.anki.apkg UTTypeTagSpecification public.filename-extension diff --git a/WordAX/Views/SettingsView.swift b/WordAX/Views/SettingsView.swift index c7d7084..c624c26 100644 --- a/WordAX/Views/SettingsView.swift +++ b/WordAX/Views/SettingsView.swift @@ -38,7 +38,7 @@ struct SettingsView: View { } extension UTType { - public static let apkg: UTType = UTType(exportedAs: "com.wordax.apkg") + public static let apkg: UTType = UTType(importedAs: "com.anki.apkg") } #Preview {