diff --git a/StikJIT/Views/SettingsView.swift b/StikJIT/Views/SettingsView.swift index f761378f..a0ea8c30 100644 --- a/StikJIT/Views/SettingsView.swift +++ b/StikJIT/Views/SettingsView.swift @@ -1,4 +1,3 @@ -// // SettingsView.swift // StikJIT // @@ -20,6 +19,8 @@ struct SettingsView: View { @State private var pairingFileIsValid = false @State private var isImportingFile = false @State private var importProgress: Float = 0.0 + + @State private var se2cridTapCount: Int = 0 var body: some View { ZStack { @@ -144,20 +145,25 @@ struct SettingsView: View { Text("jkcoxson") .foregroundColor(.primaryText) } - .listRowBackground(Color.cardBackground) - HStack { + + + VStack(alignment: .leading) { Text("Collaborators:") .foregroundColor(.secondaryText) - Spacer() - Text("Stossy11") - .foregroundColor(.primaryText) - Text("Neo") - .foregroundColor(.primaryText) - Text("Se2crid") - .foregroundColor(.primaryText) + HStack { + Text("Stossy11") + .foregroundColor(.primaryText) + Text("Neo") + .foregroundColor(.primaryText) + Text("Se2crid") + .foregroundColor(.primaryText) + Text("HugeBlack") + .foregroundColor(.primaryText) + } } .listRowBackground(Color.cardBackground) + Button(action: { if let url = URL(string: "https://github.com/0-Blu/StikJIT") { UIApplication.shared.open(url) @@ -194,9 +200,8 @@ struct SettingsView: View { .font(.bodyFont) .accentColor(.accentColor) } - .fileImporter(isPresented: $isShowingPairingFilePicker, allowedContentTypes: [UTType(filenameExtension: "mobiledevicepairing", conformingTo: .data)!, .propertyList]) {result in + .fileImporter(isPresented: $isShowingPairingFilePicker, allowedContentTypes: [UTType(filenameExtension: "mobiledevicepairing", conformingTo: .data)!, .propertyList]) { result in switch result { - case .success(let url): let fileManager = FileManager.default let accessing = url.startAccessingSecurityScopedResource()