about summary refs log tree commit diff
path: root/src/screens/Onboarding/StepFinished.tsx
diff options
context:
space:
mode:
authordan <dan.abramov@gmail.com>2024-05-21 00:17:57 +0100
committerGitHub <noreply@github.com>2024-05-21 00:17:57 +0100
commit4fa92d7a49e8a1e6118053de4d5d4174b894b528 (patch)
tree738a68135e30dfc323765213ed52aa78b9d80eea /src/screens/Onboarding/StepFinished.tsx
parent516eb69637d4d71cb25397376f9e1e5d3680f314 (diff)
downloadvoidsky-4fa92d7a49e8a1e6118053de4d5d4174b894b528.tar.zst
[Statsig] Fix exposure logging for reduced onboarding (#4131)
* Add dangerouslyDisableExposureLogging option

* Rename onboarding gate to v2

* Disable exposure logging for onboarding in PostFeed query
Diffstat (limited to 'src/screens/Onboarding/StepFinished.tsx')
-rw-r--r--src/screens/Onboarding/StepFinished.tsx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/screens/Onboarding/StepFinished.tsx b/src/screens/Onboarding/StepFinished.tsx
index 3db0cbd2c..855e12ed0 100644
--- a/src/screens/Onboarding/StepFinished.tsx
+++ b/src/screens/Onboarding/StepFinished.tsx
@@ -83,7 +83,7 @@ export function StepFinished() {
            * selected in onboarding and therefore we don't need to run this
            * code (which would overwrite the other feeds already set).
            */
-          if (!gate('reduced_onboarding_and_home_algo')) {
+          if (!gate('reduced_onboarding_and_home_algo_v2')) {
             const otherFeeds = selectedFeeds.length
               ? selectedFeeds.map(f => ({
                   type: 'feed',
@@ -120,7 +120,7 @@ export function StepFinished() {
         })(),
 
         (async () => {
-          if (!gate('reduced_onboarding_and_home_algo')) return
+          if (!gate('reduced_onboarding_and_home_algo_v2')) return
 
           const {imageUri, imageMime} = profileStepResults
           if (imageUri && imageMime) {