diff --git a/frontend/__snapshots__/scenes-app-feature-flags-code-examples--code-instructionsi-os-with-multivariate-flag--dark.png b/frontend/__snapshots__/scenes-app-feature-flags-code-examples--code-instructionsi-os-with-multivariate-flag--dark.png index 47f3e1e21732e..e01406d2adc9a 100644 Binary files a/frontend/__snapshots__/scenes-app-feature-flags-code-examples--code-instructionsi-os-with-multivariate-flag--dark.png and b/frontend/__snapshots__/scenes-app-feature-flags-code-examples--code-instructionsi-os-with-multivariate-flag--dark.png differ diff --git a/frontend/src/scenes/feature-flags/FeatureFlagSnippets.tsx b/frontend/src/scenes/feature-flags/FeatureFlagSnippets.tsx index ab33c79a6127a..7bee754183d1a 100644 --- a/frontend/src/scenes/feature-flags/FeatureFlagSnippets.tsx +++ b/frontend/src/scenes/feature-flags/FeatureFlagSnippets.tsx @@ -349,12 +349,12 @@ export function iOSSnippet({ flagKey, multivariant, payload }: FeatureFlagSnippe const flagFunction = multivariant ? 'getFeatureFlag' : 'isFeatureEnabled' - const variantSuffix = multivariant ? ` == 'example-variant'` : '' + const variantSuffix = multivariant ? ` == "example-variant"` : '' return ( {`// In Swift -if (${clientSuffix}${flagFunction}('${flagKey}') ${variantSuffix}) { +if (${clientSuffix}${flagFunction}("${flagKey}") ${variantSuffix}) { // do something } `}