Fix the small mechanical rules. [skip build]
This commit is contained in:
@@ -152,11 +152,7 @@ export function CallParticipantsIndicator({ roomId }: CallParticipantsIndicatorP
|
||||
size="50"
|
||||
style={{
|
||||
opacity: config.opacity.P500,
|
||||
color: isDeafened
|
||||
? 'var(--color-Critical-Main)'
|
||||
: isMuted
|
||||
? 'var(--color-Critical-Main)'
|
||||
: undefined,
|
||||
color: isDeafened || isMuted ? 'var(--color-Critical-Main)' : undefined,
|
||||
}}
|
||||
/>
|
||||
<Text as="span" size="T200" truncate>
|
||||
|
||||
@@ -365,13 +365,13 @@ export function RoomNavItem({
|
||||
const avatarContent = avatarEvent?.getContent();
|
||||
const avatarMxc =
|
||||
avatarContent && typeof avatarContent.url === 'string' ? avatarContent.url : undefined;
|
||||
const avatarUrl = avatarMxc
|
||||
const parentAvatarUrl = avatarMxc
|
||||
? (mxcUrlToHttp(mx, avatarMxc, useAuthentication, 96, 96, 'crop') ?? undefined)
|
||||
: undefined;
|
||||
|
||||
return {
|
||||
name: parentSpace.name,
|
||||
avatarUrl,
|
||||
avatarUrl: parentAvatarUrl,
|
||||
roomId: parentSpace.roomId,
|
||||
};
|
||||
})();
|
||||
|
||||
Reference in New Issue
Block a user