import {View} from 'react-native' import {Trans} from '@lingui/macro' import { type AllNavigatorParams, type NativeStackScreenProps, } from '#/lib/routes/types' import {useNotificationSettingsQuery} from '#/state/queries/notifications/settings' import {atoms as a} from '#/alf' import {Admonition} from '#/components/Admonition' import {At_Stroke2_Corner2_Rounded as AtIcon} from '#/components/icons/At' import * as Layout from '#/components/Layout' import * as SettingsList from '../components/SettingsList' import {ItemTextWithSubtitle} from './components/ItemTextWithSubtitle' import {PreferenceControls} from './components/PreferenceControls' type Props = NativeStackScreenProps< AllNavigatorParams, 'MentionNotificationSettings' > export function MentionNotificationSettingsScreen({}: Props) { const {data: preferences, isError} = useNotificationSettingsQuery() return ( Notifications Mentions} subtitleText={ Get notifications when people mention you. } /> {isError ? ( Failed to load notification settings. ) : ( )} ) }