🐛 Fix dark mode account iccon shows wrong

This commit is contained in:
LittleSheep 2025-01-04 18:51:35 +08:00
parent 907a87ed9a
commit 38493829d5

View File

@ -77,7 +77,7 @@ export function CapAppBar() {
<Avatar sx={{ backgroundColor: 'transparent' }} src={getAttachmentUrl(userStore.account.avatar)} /> <Avatar sx={{ backgroundColor: 'transparent' }} src={getAttachmentUrl(userStore.account.avatar)} />
) : ( ) : (
<Avatar sx={{ backgroundColor: 'transparent' }}> <Avatar sx={{ backgroundColor: 'transparent' }}>
<AccountCircle sx={{ color: theme.palette.text.primary }} /> <AccountCircle sx={{ color: theme.palette.text.primary }} className="dark:invert" />
</Avatar> </Avatar>
)} )}
</IconButton> </IconButton>