diff --git a/src/components/dialogs/BirthDateSettings.tsx b/src/components/dialogs/BirthDateSettings.tsx index 3ae8fa6c..5fe7b7bc 100644 --- a/src/components/dialogs/BirthDateSettings.tsx +++ b/src/components/dialogs/BirthDateSettings.tsx @@ -11,10 +11,11 @@ import { UsePreferencesQueryResponse, } from '#/state/queries/preferences' import {Button, ButtonText} from '../Button' -import {atoms as a, useBreakpoints, useTheme} from '#/alf' +import {atoms as a, useTheme} from '#/alf' import {ErrorMessage} from '#/view/com/util/error/ErrorMessage' import {cleanError} from '#/lib/strings/errors' import {ActivityIndicator, View} from 'react-native' +import {isIOS, isWeb} from '#/platform/detection' export function BirthDateSettingsDialog({ control, @@ -63,7 +64,6 @@ function BirthdayInner({ const {_} = useLingui() const [date, setDate] = React.useState(preferences.birthDate || new Date()) const t = useTheme() - const {gtMobile} = useBreakpoints() const hasChanged = date !== preferences.birthDate @@ -80,7 +80,7 @@ function BirthdayInner({ }, [date, setBirthDate, control, hasChanged]) return ( - + My Birthday @@ -89,7 +89,7 @@ function BirthdayInner({ This information is not shared with other users. - + ) : undefined} - +