Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 17 additions & 12 deletions StikJIT/Views/SettingsView.swift
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
//
// SettingsView.swift
// StikJIT
//
Expand All @@ -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 {
Expand Down Expand Up @@ -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)
Expand Down Expand Up @@ -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()
Expand Down