diff options
Diffstat (limited to 'src/screens')
-rw-r--r-- | src/screens/Onboarding/StepFinished.tsx | 4 | ||||
-rw-r--r-- | src/screens/Onboarding/StepInterests/index.tsx | 2 | ||||
-rw-r--r-- | src/screens/Onboarding/StepProfile/index.tsx | 2 | ||||
-rw-r--r-- | src/screens/Onboarding/index.tsx | 2 |
4 files changed, 5 insertions, 5 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) { diff --git a/src/screens/Onboarding/StepInterests/index.tsx b/src/screens/Onboarding/StepInterests/index.tsx index 2711f6779..d95445d79 100644 --- a/src/screens/Onboarding/StepInterests/index.tsx +++ b/src/screens/Onboarding/StepInterests/index.tsx @@ -134,7 +134,7 @@ export function StepInterests() { }, [track]) React.useEffect(() => { - if (!gate('reduced_onboarding_and_home_algo')) { + if (!gate('reduced_onboarding_and_home_algo_v2')) { requestNotificationsPermission('StartOnboarding') } }, [gate, requestNotificationsPermission]) diff --git a/src/screens/Onboarding/StepProfile/index.tsx b/src/screens/Onboarding/StepProfile/index.tsx index 93d8a4020..fc19d5bb3 100644 --- a/src/screens/Onboarding/StepProfile/index.tsx +++ b/src/screens/Onboarding/StepProfile/index.tsx @@ -94,7 +94,7 @@ export function StepProfile() { React.useEffect(() => { // We have an experiment running for redueced onboarding, where this screen shows up as the first in onboarding. // We only want to request permissions when that gate is actually active to prevent pollution - if (gate('reduced_onboarding_and_home_algo')) { + if (gate('reduced_onboarding_and_home_algo_v2')) { requestNotificationsPermission('StartOnboarding') } }, [gate, requestNotificationsPermission]) diff --git a/src/screens/Onboarding/index.tsx b/src/screens/Onboarding/index.tsx index 5af7a12dc..20271a465 100644 --- a/src/screens/Onboarding/index.tsx +++ b/src/screens/Onboarding/index.tsx @@ -24,7 +24,7 @@ import {Portal} from '#/components/Portal' export function Onboarding() { const {_} = useLingui() const gate = useGate() - const isReducedOnboardingEnabled = gate('reduced_onboarding_and_home_algo') + const isReducedOnboardingEnabled = gate('reduced_onboarding_and_home_algo_v2') const [state, dispatch] = React.useReducer( isReducedOnboardingEnabled ? reducerReduced : reducer, isReducedOnboardingEnabled ? {...initialStateReduced} : {...initialState}, |