Skip to content

Commit

Permalink
Add missing Freemium PIR RMF enum
Browse files Browse the repository at this point in the history
  • Loading branch information
aataraxiaa committed Dec 4, 2024
1 parent befc1f1 commit 7de7a74
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ private enum AttributesKey: String, CaseIterable {
case duckPlayerOnboarded
case duckPlayerEnabled
case messageShown
case isCurrentFreemiumPIRUser

func matchingAttribute(jsonMatchingAttribute: AnyDecodable) -> MatchingAttribute {
switch self {
Expand Down Expand Up @@ -86,6 +87,7 @@ private enum AttributesKey: String, CaseIterable {
case .duckPlayerOnboarded: return DuckPlayerOnboardedMatchingAttribute(jsonMatchingAttribute: jsonMatchingAttribute)
case .duckPlayerEnabled: return DuckPlayerEnabledMatchingAttribute(jsonMatchingAttribute: jsonMatchingAttribute)
case .messageShown: return MessageShownMatchingAttribute(jsonMatchingAttribute: jsonMatchingAttribute)
case .isCurrentFreemiumPIRUser: return FreemiumPIRCurrentUserMatchingAttribute(jsonMatchingAttribute: jsonMatchingAttribute)
}
}
}
Expand Down

0 comments on commit 7de7a74

Please sign in to comment.