invert flag for sending to statsig (#8431)

This commit is contained in:
hailey
2025-05-30 12:13:44 -07:00
committed by GitHub
parent 4890648116
commit 2a453cd9ca
23 changed files with 154 additions and 69 deletions
+10 -2
View File
@@ -101,14 +101,22 @@ let ProfileHeaderShell = ({
useEffect(() => {
if (live.isActive) {
logger.metric('live:view:profile', {subject: profile.did})
logger.metric(
'live:view:profile',
{subject: profile.did},
{statsig: true},
)
}
}, [live.isActive, profile.did])
const onPressAvi = React.useCallback(() => {
if (live.isActive) {
playHaptic('Light')
logger.metric('live:card:open', {subject: profile.did, from: 'profile'})
logger.metric(
'live:card:open',
{subject: profile.did, from: 'profile'},
{statsig: true},
)
liveStatusControl.open()
} else {
const modui = moderation.ui('avatar')