diff --git a/src/screens/Settings/Settings.tsx b/src/screens/Settings/Settings.tsx index 6b0e184c03..870d4f8790 100644 --- a/src/screens/Settings/Settings.tsx +++ b/src/screens/Settings/Settings.tsx @@ -16,6 +16,7 @@ import { type CommonNavigatorParams, type NavigationProp, } from '#/lib/routes/types' +import {useGate} from '#/lib/statsig/statsig' import {sanitizeDisplayName} from '#/lib/strings/display-names' import {sanitizeHandle} from '#/lib/strings/handles' import {isIOS, isNative} from '#/platform/detection' @@ -93,6 +94,7 @@ export function SettingsScreen({}: Props) { const [showDevOptions, setShowDevOptions] = useState(false) const findContactsEnabled = useIsFindContactsFeatureEnabledBasedOnGeolocation() + const gate = useGate() return ( @@ -211,16 +213,18 @@ export function SettingsScreen({}: Props) { Content and media - {isNative && findContactsEnabled && ( - - - - Find friends from contacts - - - )} + {isNative && + findContactsEnabled && + gate('disable_settings_find_contacts') && ( + + + + Find friends from contacts + + + )}