Skip to content

Commit

Permalink
added support for ConfigChange().channels([...])
Browse files Browse the repository at this point in the history
  • Loading branch information
bverbeken committed Apr 19, 2024
1 parent b2441bc commit e824a8e
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion seatsio-ios/ConfigChange.swift
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,10 @@ public class ConfigChange: Encodable {
var numberOfPlacesToSelect: Int?
var maxSelectedObjects: AnyEncodable?
var extraConfig: AnyEncodable?
var unavailableCategories: [String]?
var availableCategories: [String]?
var unavailableCategories: [String]?
var filteredCategories: [String]?
var channels: [String]?

public func objectColor(_ objectColor: String) -> Self {
self.objectColor = objectColor
Expand Down Expand Up @@ -60,4 +61,9 @@ public class ConfigChange: Encodable {
self.filteredCategories = filteredCategories
return self
}

public func channels(_ channels: [String]) -> Self {
self.channels = channels
return self
}
}

0 comments on commit e824a8e

Please sign in to comment.