about summary refs log tree commit diff
path: root/src/components/verification
diff options
context:
space:
mode:
authorhailey <me@haileyok.com>2025-05-30 12:13:44 -0700
committerGitHub <noreply@github.com>2025-05-30 12:13:44 -0700
commit2a453cd9cac811da0eb7c802489c6e4bcfe4bd78 (patch)
treed99037b247dca600dfe7f3d39146d1b046d88742 /src/components/verification
parent4890648116e255ed28c5ae0522a53278a6c35a39 (diff)
downloadvoidsky-2a453cd9cac811da0eb7c802489c6e4bcfe4bd78.tar.zst
invert flag for sending to statsig (#8431)
Diffstat (limited to 'src/components/verification')
-rw-r--r--src/components/verification/VerificationCheckButton.tsx2
-rw-r--r--src/components/verification/VerificationsDialog.tsx10
-rw-r--r--src/components/verification/VerifierDialog.tsx10
3 files changed, 15 insertions, 7 deletions
diff --git a/src/components/verification/VerificationCheckButton.tsx b/src/components/verification/VerificationCheckButton.tsx
index 1b66cd90e..9278a3072 100644
--- a/src/components/verification/VerificationCheckButton.tsx
+++ b/src/components/verification/VerificationCheckButton.tsx
@@ -100,7 +100,7 @@ export function Badge({
         }
         hitSlop={20}
         onPress={() => {
-          logger.metric('verification:badge:click', {})
+          logger.metric('verification:badge:click', {}, {statsig: true})
           if (state.profile.role === 'verifier') {
             verifierDialogControl.open()
           } else {
diff --git a/src/components/verification/VerificationsDialog.tsx b/src/components/verification/VerificationsDialog.tsx
index b1461b08a..665bf3ba3 100644
--- a/src/components/verification/VerificationsDialog.tsx
+++ b/src/components/verification/VerificationsDialog.tsx
@@ -153,9 +153,13 @@ function Inner({
           color="secondary"
           style={[a.justify_center]}
           onPress={() => {
-            logger.metric('verification:learn-more', {
-              location: 'verificationsDialog',
-            })
+            logger.metric(
+              'verification:learn-more',
+              {
+                location: 'verificationsDialog',
+              },
+              {statsig: true},
+            )
           }}>
           <ButtonText>
             <Trans>Learn more</Trans>
diff --git a/src/components/verification/VerifierDialog.tsx b/src/components/verification/VerifierDialog.tsx
index c38ac20b5..c62f01832 100644
--- a/src/components/verification/VerifierDialog.tsx
+++ b/src/components/verification/VerifierDialog.tsx
@@ -120,9 +120,13 @@ function Inner({
             color="primary"
             style={[a.justify_center]}
             onPress={() => {
-              logger.metric('verification:learn-more', {
-                location: 'verifierDialog',
-              })
+              logger.metric(
+                'verification:learn-more',
+                {
+                  location: 'verifierDialog',
+                },
+                {statsig: true},
+              )
             }}>
             <ButtonText>
               <Trans>Learn more</Trans>