Skip to content

Commit

Permalink
Code cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
Bohdan-Kim committed Dec 27, 2024
1 parent aceef64 commit b52c160
Showing 1 changed file with 2 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -181,11 +181,8 @@ class GrowthBookSDK() : FeaturesFlowDelegate {
featureKey = id,
attributeOverrides = attributeOverrides,
)
/*
when(gbFeatureResult.value) {
is GBBoolean -> return gbFeatureResult.copy(value = gbFeatureResult.value as? V)
}
*/

@Suppress("UNCHECKED_CAST")
return GBFeatureResult(
value = when(gbFeatureResult.value) {
is GBBoolean -> gbFeatureResult.value.value as? V
Expand Down

0 comments on commit b52c160

Please sign in to comment.