diff --git a/apps/mobile/src/components/profile-screen.tsx b/apps/mobile/src/components/profile-screen.tsx index 3ae5ec0509..083de88371 100644 --- a/apps/mobile/src/components/profile-screen.tsx +++ b/apps/mobile/src/components/profile-screen.tsx @@ -43,8 +43,21 @@ import { import { getSecurityAgentPath } from '@/lib/security-agent'; import { useTRPC } from '@/lib/trpc'; -function providerIcon(_provider: string) { - return KeyRound; +const PROVIDER_LABELS: Record = { + anaconda: 'Anaconda', + apple: 'Apple', + discord: 'Discord', + email: 'Email', + 'fake-login': 'Test Account', + github: 'GitHub', + gitlab: 'GitLab', + google: 'Google', + linkedin: 'LinkedIn', + workos: 'Enterprise SSO', +}; + +function providerLabel(provider: string) { + return PROVIDER_LABELS[provider] ?? provider; } export function ProfileScreen() { @@ -244,24 +257,17 @@ export function ProfileScreen() { /> )} - {data?.providers.map(p => { - const Icon = providerIcon(p.provider); - return ( - - - - {p.provider} - - {p.email} - - - - ); - })} + {data?.providers.map((p, index) => ( + + + + ))} )}