Skip to content

Commit

Permalink
add - Added missing version property (generator)
Browse files Browse the repository at this point in the history
---

We've fixed a test failure by adding a missing vCard version to the generated vCards.

---

Type: add
Breaking: False
Doc Required: False
Backport Required: False
Part: 1/1
  • Loading branch information
AptiviCEO committed Oct 3, 2024
1 parent fa10404 commit a6e8b95
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions VisualCard.Extras/Misc/CardGenerator.cs
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ public static Card[] GenerateCards(int cards, string namePrefix = "", string nam

// Add the begin header and the name indicators
builder.AppendLine(VcardConstants._beginText);
builder.AppendLine(VcardConstants._versionSpecifier + ":2.1");
builder.AppendLine(VcardConstants._fullNameSpecifier + $":{firstName} {lastName}");
builder.AppendLine(VcardConstants._nameSpecifier + $":{lastName};{firstName}");

Expand Down

0 comments on commit a6e8b95

Please sign in to comment.