diff options
author | Hailey <me@haileyok.com> | 2024-04-22 13:06:25 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-22 21:06:25 +0100 |
commit | 243769e6577f1fc2a23dc4542bd57eab3bba45de (patch) | |
tree | 02804e415029709df8bec2b56d6750c2d24d286c /src/lib/hooks/useOTAUpdates.ts | |
parent | 0e3a13b6df3c3e0c72473715be7d6eb809cae597 (diff) | |
download | voidsky-243769e6577f1fc2a23dc4542bd57eab3bba45de.tar.zst |
remove gate from updates (#3646)
Diffstat (limited to 'src/lib/hooks/useOTAUpdates.ts')
-rw-r--r-- | src/lib/hooks/useOTAUpdates.ts | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/lib/hooks/useOTAUpdates.ts b/src/lib/hooks/useOTAUpdates.ts index b8d331c6f..a1692e62c 100644 --- a/src/lib/hooks/useOTAUpdates.ts +++ b/src/lib/hooks/useOTAUpdates.ts @@ -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) |