88 Chip ,
99 Dialog ,
1010 Header ,
11- Icon ,
12- Icons ,
1311 Line ,
1412 Menu ,
1513 MenuItem ,
@@ -38,7 +36,7 @@ import { createLogger } from '$utils/debug';
3836import type { Session } from '$state/sessions' ;
3937import { activeSessionIdAtom , backgroundUnreadCountsAtom , sessionsAtom } from '$state/sessions' ;
4038import { UnreadBadge , UnreadBadgeCenter } from '$components/unread-badge' ;
41- import { Check , chipIcon , Plus } from '$components/icons/phosphor' ;
39+ import { Check , chipIcon , menuIcon , Plus } from '$components/icons/phosphor' ;
4240import { useSessionProfiles } from '$hooks/useSessionProfiles' ;
4341import { useClientConfig } from '$hooks/useClientConfig' ;
4442import { getHomePath , getLoginPath , getProfilePath , withSearchParam } from '$pages/pathUtils' ;
@@ -56,7 +54,14 @@ import {
5654 useUnverifiedDeviceCount ,
5755 VerificationStatus ,
5856} from '$hooks/useDeviceVerificationStatus' ;
59- import { ShieldWarningIcon } from '@phosphor-icons/react' ;
57+ import {
58+ CaretDownIcon ,
59+ CaretRightIcon ,
60+ GearSixIcon ,
61+ PencilSimpleIcon ,
62+ ShieldWarningIcon ,
63+ UserIcon ,
64+ } from '@phosphor-icons/react' ;
6065import * as css from './UserMenuTab.css' ;
6166
6267const log = createLogger ( 'AccountSwitcherTab' ) ;
@@ -262,10 +267,8 @@ export function AccountMenuOption({ isMobile, isRight }: { isMobile: boolean; is
262267 < MenuItem
263268 size = "300"
264269 radii = "300"
265- before = { < Icon size = "100" src = { Icons . User } /> }
266- after = {
267- < Icon size = "100" src = { isOpen && isMobile ? Icons . ChevronBottom : Icons . ChevronRight } />
268- }
270+ before = { menuIcon ( UserIcon ) }
271+ after = { isOpen && isMobile ? menuIcon ( CaretDownIcon ) : menuIcon ( CaretRightIcon ) }
269272 style = { {
270273 position : 'relative' ,
271274 background : isMobile
@@ -479,9 +482,7 @@ export function PresenceMenuOption({
479482 ) }
480483 </ div >
481484 }
482- after = {
483- < Icon size = "100" src = { isOpen && isMobile ? Icons . ChevronBottom : Icons . ChevronRight } />
484- }
485+ after = { isOpen && isMobile ? menuIcon ( CaretDownIcon ) : menuIcon ( CaretRightIcon ) }
485486 style = { {
486487 position : 'relative' ,
487488 background : isMobile
@@ -766,7 +767,7 @@ export function UserMenuTab({ isBottom, isMobile }: { isBottom?: boolean; isMobi
766767 onClick = { ( ) => openSettings ( 'account' ) }
767768 size = "300"
768769 radii = "300"
769- before = { < Icon size = "100" src = { Icons . Pencil } /> }
770+ before = { menuIcon ( PencilSimpleIcon ) }
770771 >
771772 < Text style = { { flexGrow : 1 } } size = "T300" >
772773 Edit Profile
@@ -790,7 +791,7 @@ export function UserMenuTab({ isBottom, isMobile }: { isBottom?: boolean; isMobi
790791 < MenuItem
791792 size = "300"
792793 radii = "300"
793- before = { < Icon size = "100" src = { Icons . Setting } /> }
794+ before = { menuIcon ( GearSixIcon ) }
794795 onClick = { ( ) => openSettings ( ) }
795796 >
796797 < Text style = { { flexGrow : 1 } } size = "T300" >
0 commit comments