From 42510c0515845c3376e68c5b6a1e112500fc072a Mon Sep 17 00:00:00 2001 From: Samuel Newman Date: Wed, 18 Jun 2025 23:36:37 +0300 Subject: gate notification settings (#8527) --- src/screens/Settings/Settings.tsx | 20 ++++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) (limited to 'src/screens/Settings/Settings.tsx') diff --git a/src/screens/Settings/Settings.tsx b/src/screens/Settings/Settings.tsx index 6310c7c3c..e1d197070 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 {useProfileShadow} from '#/state/cache/profile-shadow' @@ -81,6 +82,7 @@ export function SettingsScreen({}: Props) { const {pendingDid, onPressSwitchAccount} = useAccountSwitcher() const [showAccounts, setShowAccounts] = useState(false) const [showDevOptions, setShowDevOptions] = useState(false) + const gate = useGate() return ( @@ -181,14 +183,16 @@ export function SettingsScreen({}: Props) { Moderation - - - - Notifications - - + {gate('reengagement_features') && ( + + + + Notifications + + + )} -- cgit 1.4.1