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

Commit 5dd3744

Browse files
authored
Refactor CertificateView and AddCertificateView
1 parent 60ae358 commit 5dd3744

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Sources/prosign/views/CertificateView.swift

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -333,7 +333,7 @@ struct AddCertificateView: View {
333333
case .success(.success):
334334
// Generate displayName from cert if not set
335335
if localDisplayName.isEmpty {
336-
localDisplayName = CertificatesManager.getCertificateName(p12Data: p12Data, password: self.password) ?? "Custom Certificate"
336+
localDisplayName = CertificatesManager.getCertificateName(mobileProvisionData: provData) ?? "Custom Certificate"
337337
}
338338

339339
if let folder = self.editingCertificate?.folderName {
@@ -366,4 +366,5 @@ struct AddCertificateView: View {
366366
}
367367
DispatchQueue.global(qos: .userInitiated).async(execute: workItem)
368368
}
369-
}
369+
370+
}

0 commit comments

Comments
 (0)