Updated preferredStyleSchemes setter and getter checks and messages

This commit is contained in:
Alexander Cerutti
2025-09-15 22:51:33 +02:00
parent 194412201d
commit af50ebaf5a
2 changed files with 10 additions and 8 deletions

View File

@@ -17,9 +17,9 @@ export const TRANSIT_TYPE = {
export const PREFERRED_STYLE_SCHEMES = {
UNEXPECTED_PASS_TYPE_SET:
"Cannot set preferredStyleSchemes on a pass with type different from eventTicket.",
"Cannot set preferredStyleSchemes on a pass with type different from eventTicket or boardingPass.",
UNEXPECTED_PASS_TYPE_GET:
"Cannot get preferredStyleSchemes on a pass with type different from eventTicket.",
"Cannot get preferredStyleSchemes on a pass with type different from eventTicket or boardingPass.",
INVALID:
"Cannot set preferredStyleSchemes because not compliant with Apple specifications - %s",
} as const;