diff --git a/src/components/contacts/country-whitelist.ts b/src/components/contacts/country-allowlist.ts similarity index 94% rename from src/components/contacts/country-whitelist.ts rename to src/components/contacts/country-allowlist.ts index 6609d03ce8..97d3d44587 100644 --- a/src/components/contacts/country-whitelist.ts +++ b/src/components/contacts/country-allowlist.ts @@ -30,7 +30,7 @@ export function useIsFindContactsFeatureEnabledBasedOnGeolocation() { if (IS_DEV) return true // they can try, by they'll need a phone number - // from one of the whitelisted countries + // from one of the allowlisted countries if (!location.countryCode) return true return isFindContactsFeatureEnabled(location.countryCode) diff --git a/src/components/contacts/screens/PhoneInput.tsx b/src/components/contacts/screens/PhoneInput.tsx index f751c2aeaa..e987be7dee 100644 --- a/src/components/contacts/screens/PhoneInput.tsx +++ b/src/components/contacts/screens/PhoneInput.tsx @@ -22,7 +22,7 @@ import {InlineLinkText} from '#/components/Link' import {Loader} from '#/components/Loader' import {Text} from '#/components/Typography' import {useGeolocation} from '#/geolocation' -import {isFindContactsFeatureEnabled} from '../country-whitelist' +import {isFindContactsFeatureEnabled} from '../country-allowlist' import { constructFullPhoneNumber, getCountryCodeFromPastedNumber, diff --git a/src/screens/Onboarding/index.tsx b/src/screens/Onboarding/index.tsx index 5c08f40cd0..f3dd962b07 100644 --- a/src/screens/Onboarding/index.tsx +++ b/src/screens/Onboarding/index.tsx @@ -20,7 +20,7 @@ import {StepFinished} from '#/screens/Onboarding/StepFinished' import {StepInterests} from '#/screens/Onboarding/StepInterests' import {StepProfile} from '#/screens/Onboarding/StepProfile' import {atoms as a, useTheme} from '#/alf' -import {useIsFindContactsFeatureEnabledBasedOnGeolocation} from '#/components/contacts/country-whitelist' +import {useIsFindContactsFeatureEnabledBasedOnGeolocation} from '#/components/contacts/country-allowlist' import {useFindContactsFlowState} from '#/components/contacts/state' import {Portal} from '#/components/Portal' import {ScreenTransition} from '#/components/ScreenTransition' diff --git a/src/screens/Settings/Settings.tsx b/src/screens/Settings/Settings.tsx index adfd2208fb..6b0e184c03 100644 --- a/src/screens/Settings/Settings.tsx +++ b/src/screens/Settings/Settings.tsx @@ -37,7 +37,7 @@ import {atoms as a, platform, tokens, useBreakpoints, useTheme} from '#/alf' import {AgeAssuranceDismissibleNotice} from '#/components/ageAssurance/AgeAssuranceDismissibleNotice' import {AvatarStackWithFetch} from '#/components/AvatarStack' import {Button, ButtonText} from '#/components/Button' -import {useIsFindContactsFeatureEnabledBasedOnGeolocation} from '#/components/contacts/country-whitelist' +import {useIsFindContactsFeatureEnabledBasedOnGeolocation} from '#/components/contacts/country-allowlist' import {useDialogControl} from '#/components/Dialog' import {SwitchAccountDialog} from '#/components/dialogs/SwitchAccount' import {Accessibility_Stroke2_Corner2_Rounded as AccessibilityIcon} from '#/components/icons/Accessibility'