remove gate from updates (#3646)

zio/stable
Hailey 2024-04-22 13:06:25 -07:00 committed by GitHub
parent 0e3a13b6df
commit 243769e657
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 1 additions and 4 deletions

View File

@ -12,7 +12,6 @@ import {
import {logger} from '#/logger'
import {IS_TESTFLIGHT} from 'lib/app-info'
import {useGate} from 'lib/statsig/statsig'
import {isIOS} from 'platform/detection'
const MINIMUM_MINIMIZE_TIME = 15 * 60e3
@ -31,8 +30,7 @@ async function setExtraParams() {
}
export function useOTAUpdates() {
const gate = useGate()
const shouldReceiveUpdates = isEnabled && !__DEV__ && gate('receive_updates')
const shouldReceiveUpdates = isEnabled && !__DEV__
const appState = React.useRef<AppStateStatus>('active')
const lastMinimize = React.useRef(0)

View File

@ -6,7 +6,6 @@ export type Gate =
| 'hide_vertical_scroll_indicators'
| 'new_gif_player'
| 'new_profile_scroll_component'
| 'receive_updates'
| 'show_follow_back_label_v2'
| 'start_session_with_following_v2'
| 'use_new_suggestions_endpoint'