diff --git a/src/screens/Settings/Settings.tsx b/src/screens/Settings/Settings.tsx index 2ee3af78d6..7508697e01 100644 --- a/src/screens/Settings/Settings.tsx +++ b/src/screens/Settings/Settings.tsx @@ -64,6 +64,7 @@ import { shouldShowVerificationCheckButton, VerificationCheckButton, } from '#/components/verification/VerificationCheckButton' +import {useActivitySubscriptionsNudged} from '#/storage/hooks/activity-subscriptions-nudged' type Props = NativeStackScreenProps export function SettingsScreen({}: Props) { @@ -364,6 +365,7 @@ function DevOptions() { const onboardingDispatch = useOnboardingDispatch() const navigation = useNavigation() const {mutate: deleteChatDeclarationRecord} = useDeleteActorDeclaration() + const [actyNotifNudged, setActyNotifNudged] = useActivitySubscriptionsNudged() const resetOnboarding = async () => { navigation.navigate('Home') @@ -387,6 +389,10 @@ function DevOptions() { Toast.show(_(msg`You probably want to restart the app now.`)) } + const onPressActySubsUnNudge = () => { + setActyNotifNudged(false) + } + return ( <> Unsnooze email reminder + {actyNotifNudged && ( + + + Reset activity subscription nudge + + + )} clearAllStorage()} label={_(msg`Clear all storage data`)}>