diff options
Diffstat (limited to 'src/screens/Settings/AccountSettings.tsx')
-rw-r--r-- | src/screens/Settings/AccountSettings.tsx | 22 |
1 files changed, 12 insertions, 10 deletions
diff --git a/src/screens/Settings/AccountSettings.tsx b/src/screens/Settings/AccountSettings.tsx index 393bad2f8..86652d277 100644 --- a/src/screens/Settings/AccountSettings.tsx +++ b/src/screens/Settings/AccountSettings.tsx @@ -7,6 +7,7 @@ import {useModalControls} from '#/state/modals' import {useSession} from '#/state/session' import * as SettingsList from '#/screens/Settings/components/SettingsList' import {atoms as a, useTheme} from '#/alf' +import {AgeAssuranceAccountCard} from '#/components/ageAssurance/AgeAssuranceAccountCard' import {useDialogControl} from '#/components/Dialog' import {BirthDateSettingsDialog} from '#/components/dialogs/BirthDateSettings' import { @@ -114,16 +115,6 @@ export function AccountSettingsScreen({}: Props) { <SettingsList.Chevron /> </SettingsList.PressableItem> <SettingsList.Divider /> - <SettingsList.Item> - <SettingsList.ItemIcon icon={BirthdayCakeIcon} /> - <SettingsList.ItemText> - <Trans>Birthday</Trans> - </SettingsList.ItemText> - <SettingsList.BadgeButton - label={_(msg`Edit`)} - onPress={() => birthdayControl.open()} - /> - </SettingsList.Item> <SettingsList.PressableItem label={_(msg`Password`)} onPress={() => openModal({name: 'change-password'})}> @@ -143,6 +134,17 @@ export function AccountSettingsScreen({}: Props) { </SettingsList.ItemText> <SettingsList.Chevron /> </SettingsList.PressableItem> + <SettingsList.Item> + <SettingsList.ItemIcon icon={BirthdayCakeIcon} /> + <SettingsList.ItemText> + <Trans>Birthday</Trans> + </SettingsList.ItemText> + <SettingsList.BadgeButton + label={_(msg`Edit`)} + onPress={() => birthdayControl.open()} + /> + </SettingsList.Item> + <AgeAssuranceAccountCard style={[a.px_xl, a.pt_xs, a.pb_md]} /> <SettingsList.Divider /> <SettingsList.PressableItem label={_(msg`Export my data`)} |