Skip to content

Commit

Permalink
imp - Whitelisted PREF for preferred elements
Browse files Browse the repository at this point in the history
---

We've whitelisted the PREF type as it's actually a real type.

---

Type: imp
Breaking: False
Doc Required: False
Part: 1/1
  • Loading branch information
AptiviCEO committed Apr 4, 2024
1 parent 02852de commit c2beb9f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion VisualCard/Parsers/VcardParser.cs
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ public Card Parse()
// Iterate through all the lines
bool constructing = false;
StringBuilder valueBuilder = new();
string[] allowedTypes = ["HOME", "WORK"];
string[] allowedTypes = ["HOME", "WORK", "PREF"];
for (int i = 0; i < CardContent.Length; i++)
{
// Get line
Expand Down

0 comments on commit c2beb9f

Please sign in to comment.