From 0d0270c7c896e894aa6962b2f9538bee2a152e17 Mon Sep 17 00:00:00 2001 From: se2crid <151872490+se2crid@users.noreply.github.com> Date: Wed, 30 Jul 2025 19:33:40 +0200 Subject: [PATCH] Update Something.swift --- StikJIT/Views/Something.swift | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/StikJIT/Views/Something.swift b/StikJIT/Views/Something.swift index 351c50d9..4de7c2cf 100644 --- a/StikJIT/Views/Something.swift +++ b/StikJIT/Views/Something.swift @@ -371,7 +371,7 @@ struct IPAAppManagerView: View { .navigationTitle("Testing") .stikImporter(isPresented: $pickerShown, selectedURLs: .constant([]), - allowedContentTypes: [.item], + allowedContentTypes: [UTType(filenameExtension: "ipa") ?? .archive], allowsMultipleSelection: false) { urls in if let u = urls.first { do { try mgr.importIPA(from: u); notify("File imported", "File saved to Imports") } @@ -531,12 +531,12 @@ private struct AddCertView: View { importRow(label: ".mobileprovision", picked: mobURL != nil) { pickMob = true } .stikImporter(isPresented: $pickMob, selectedURLs: .constant([]), - allowedContentTypes: [UTType.item], + allowedContentTypes: [UTType(filenameExtension: "mobileprovision") ?? .data], allowsMultipleSelection: false) { mobURL = $0.first } importRow(label: ".p12 file", picked: p12URL != nil) { pickP12 = true } .stikImporter(isPresented: $pickP12, selectedURLs: .constant([]), - allowedContentTypes: [UTType.item], + allowedContentTypes: [UTType(filenameExtension: "p12") ?? .data], allowsMultipleSelection: false) { p12URL = $0.first } SecureField("p12 password", text: $password) }