Skip to content

Commit

Permalink
savedGroups is a map for GB values
Browse files Browse the repository at this point in the history
  • Loading branch information
Bohdan-Kim committed Feb 5, 2025
1 parent a5aca29 commit 41a2854
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ class GrowthBookSDK() : FeaturesFlowDelegate {
private lateinit var featuresViewModel: FeaturesViewModel
private var attributeOverrides: Map<String, GBValue> = emptyMap()
private var forcedFeatures: Map<String, GBValue> = emptyMap()
private var savedGroups: Map<String, Any>? = emptyMap()
private var savedGroups: Map<String, GBValue>? = emptyMap()
private var assigned: MutableMap<String, Pair<GBExperiment, GBExperimentResult>> =
mutableMapOf()
private var subscriptions: MutableList<GBExperimentRunCallback> = mutableListOf()
Expand All @@ -61,7 +61,7 @@ class GrowthBookSDK() : FeaturesFlowDelegate {
refreshHandler: GBCacheRefreshHandler?,
networkDispatcher: NetworkDispatcher,
features: GBFeatures? = null,
savedGroups: Map<String, Any>? = null
savedGroups: Map<String, GBValue>? = null
) : this() {
gbContext = context
this.refreshHandler = refreshHandler
Expand Down

0 comments on commit 41a2854

Please sign in to comment.