Skip to content
This repository was archived by the owner on Sep 15, 2023. It is now read-only.

Commit 2141004

Browse files
authored
Merge pull request #354 from admin-ch/bugfix/standardized-name-seperator
always show standardized name seperator
2 parents 7f5254e + 8013765 commit 2141004

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

CovidCertificate/SharedLogic/Helpers/EuHealthCert+CC.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ public extension ExtensionModel {
6868
}
6969

7070
var displayMonospacedName: String? {
71-
return [person.standardizedFamilyName, person.standardizedGivenName].compactMap { $0 }.joined(separator: "<<")
71+
return [person.standardizedFamilyName, person.standardizedGivenName].map { $0 ?? "" }.joined(separator: "<<")
7272
}
7373

7474
#if WALLET

0 commit comments

Comments
 (0)