diff --git a/src/view/com/util/AccountDropdownBtn.tsx b/src/view/com/util/AccountDropdownBtn.tsx
index be9f7c9f07..48313d5457 100644
--- a/src/view/com/util/AccountDropdownBtn.tsx
+++ b/src/view/com/util/AccountDropdownBtn.tsx
@@ -31,7 +31,7 @@ export function AccountDropdownBtn({account}: {account: SessionAccount}) {
size="xsmall"
shape="round"
color="secondary"
- variant="solid">
+ variant="ghost">
)
diff --git a/src/view/screens/Settings/index.tsx b/src/view/screens/Settings/index.tsx
index fe449fcdbc..bb4a16a278 100644
--- a/src/view/screens/Settings/index.tsx
+++ b/src/view/screens/Settings/index.tsx
@@ -55,8 +55,11 @@ import {UserAvatar} from 'view/com/util/UserAvatar'
import {ScrollView} from 'view/com/util/Views'
import {DeactivateAccountDialog} from '#/screens/Settings/components/DeactivateAccountDialog'
import {atoms as a, useTheme} from '#/alf'
+import {Button, ButtonContext} from '#/components/Button'
import {useDialogControl} from '#/components/Dialog'
import {BirthDateSettingsDialog} from '#/components/dialogs/BirthDateSettings'
+import {Link as NewLink} from '#/components/Link'
+import {Text as NewText} from '#/components/Typography'
import {Email2FAToggle} from './Email2FAToggle'
import {ExportCarDialog} from './ExportCarDialog'
@@ -72,62 +75,69 @@ function SettingsAccountCard({
logContext: 'Settings',
) => void
}) {
- const pal = usePalette('default')
const {_} = useLingui()
const t = useTheme()
const {currentAccount} = useSession()
const {data: profile} = useProfileQuery({did: account.did})
const isCurrentAccount = account.did === currentAccount?.did
- const contents = (
+ const contents = (ctx: ButtonContext) => (
-
-
-
-
-
+
+
+
{profile?.displayName || account.handle}
-
-
- {account.handle}
-
+
+
+ @{account.handle}
+
)
return isCurrentAccount ? (
-
+ label={_(msg`Your profile`)}
+ style={[a.w_full]}>
{contents}
-
+
) : (
- onPressSwitchAccount(account, 'Settings')
}
- accessibilityRole="button"
- accessibilityLabel={_(msg`Switch to ${account.handle}`)}
- accessibilityHint={_(msg`Switches the account you are logged in to`)}
- activeOpacity={0.8}>
+ label={_(msg`Switch to ${account.handle}`)}
+ style={[a.w_full]}>
{contents}
-
+
)
}