Skip to content

Commit

Permalink
Set -> Array
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesrb1 committed Aug 15, 2024
1 parent 726cda8 commit c91c948
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Sources/Paywalls/PaywallData.swift
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ public struct PaywallData {
}

/// The storefront country codes that should not display cents in prices.
public var zeroDecimalPlaceCountries: Set<String> {
public var zeroDecimalPlaceCountries: [String] {
_zeroDecimalPlaceCountries?.apple ?? []
}

Expand Down Expand Up @@ -86,10 +86,10 @@ extension PaywallData {
public struct ZeroDecimalPlaceCountries: Codable, Sendable, Hashable, Equatable {

/// Storefront country codes that should typically display zero decimal places
public var apple: Set<String> = []
public var apple: [String] = []

/// Storefront country codes that should typically display zero decimal places.
public init(apple: Set<String>) {
public init(apple: [String]) {
self.apple = apple
}

Expand Down

0 comments on commit c91c948

Please sign in to comment.