Skip to content
This repository was archived by the owner on Mar 7, 2026. It is now read-only.

Commit 252352c

Browse files
authored
Minor bug fixes
1 parent cb9b877 commit 252352c

1 file changed

Lines changed: 6 additions & 4 deletions

File tree

Sources/prostore/views/CertificateView.swift

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ struct CertificateView: View {
8989
.foregroundColor(.blue)
9090
Text("P12")
9191
Spacer()
92-
Text(p12Name.isEmpty ? "No file selected" : p12Name) // Use p12Name here
92+
Text(p12Name.isEmpty ? "No file selected" : p12Name)
9393
.font(.caption)
9494
.lineLimit(1)
9595
.foregroundColor(.secondary)
@@ -109,7 +109,7 @@ struct CertificateView: View {
109109
.foregroundColor(.blue)
110110
Text("MobileProvision")
111111
Spacer()
112-
Text(provName.isEmpty ? "No file selected" : provName) // Use provName here
112+
Text(provName.isEmpty ? "No file selected" : provName)
113113
.font(.caption)
114114
.lineLimit(1)
115115
.foregroundColor(.secondary)
@@ -180,10 +180,12 @@ struct CertificateView: View {
180180
switch kind {
181181
case .p12:
182182
p12.url = url
183-
p12Name = url.lastPathComponent // Set display name here instead
183+
p12Name = url.lastPathComponent
184184
case .prov:
185185
prov.url = url
186-
provName = url.lastPathComponent // Same for prov
186+
provName = url.lastPathComponent
187+
case .ipa:
188+
break
187189
}
188190
})
189191
}

0 commit comments

Comments
 (0)