diff --git a/src/app/atoms/avatar/Avatar.jsx b/src/app/atoms/avatar/Avatar.jsx index 616cea63..950c9bae 100644 --- a/src/app/atoms/avatar/Avatar.jsx +++ b/src/app/atoms/avatar/Avatar.jsx @@ -29,7 +29,7 @@ function Avatar({ { iconSrc !== null ? - : text !== null && {text} + : text !== null && {[...text][0]} } ) diff --git a/src/app/molecules/image-upload/ImageUpload.jsx b/src/app/molecules/image-upload/ImageUpload.jsx index da794892..5beed72b 100644 --- a/src/app/molecules/image-upload/ImageUpload.jsx +++ b/src/app/molecules/image-upload/ImageUpload.jsx @@ -48,7 +48,7 @@ function ImageUpload({ > diff --git a/src/app/molecules/people-selector/PeopleSelector.jsx b/src/app/molecules/people-selector/PeopleSelector.jsx index 5fff5c0b..23c71f9f 100644 --- a/src/app/molecules/people-selector/PeopleSelector.jsx +++ b/src/app/molecules/people-selector/PeopleSelector.jsx @@ -18,7 +18,7 @@ function PeopleSelector({ onClick={onClick} type="button" > - + {name} {peopleRole !== null && {peopleRole}} diff --git a/src/app/molecules/room-intro/RoomIntro.jsx b/src/app/molecules/room-intro/RoomIntro.jsx index e9ae6f52..315d561a 100644 --- a/src/app/molecules/room-intro/RoomIntro.jsx +++ b/src/app/molecules/room-intro/RoomIntro.jsx @@ -17,7 +17,7 @@ function RoomIntro({ }) { return (
- +
{heading} {linkifyContent(desc)} diff --git a/src/app/molecules/room-selector/RoomSelector.jsx b/src/app/molecules/room-selector/RoomSelector.jsx index 47201a62..3367746f 100644 --- a/src/app/molecules/room-selector/RoomSelector.jsx +++ b/src/app/molecules/room-selector/RoomSelector.jsx @@ -51,7 +51,7 @@ function RoomSelector({ content={( <>
diff --git a/src/app/organisms/navigation/SideBar.jsx b/src/app/organisms/navigation/SideBar.jsx index 35fe8f2e..b93a6b52 100644 --- a/src/app/organisms/navigation/SideBar.jsx +++ b/src/app/organisms/navigation/SideBar.jsx @@ -70,7 +70,7 @@ function ProfileAvatarMenu() { tooltip={profile.displayName} imageSrc={profile.avatarUrl !== null ? mx.mxcUrlToHttp(profile.avatarUrl, 42, 42, 'crop') : null} bgColor={colorMXID(mx.getUserId())} - text={profile.displayName.slice(0, 1)} + text={profile.displayName} /> )} /> @@ -190,7 +190,7 @@ function SideBar() { tooltip={room.name} bgColor={colorMXID(room.roomId)} imageSrc={room.getAvatarUrl(initMatrix.matrixClient.baseUrl, 42, 42, 'crop') || null} - text={room.name.slice(0, 1)} + text={room.name} isUnread={notifications.hasNoti(sRoomId)} notificationCount={abbreviateNumber(notifications.getTotalNoti(sRoomId))} isAlert={notifications.getHighlightNoti(sRoomId) !== 0} diff --git a/src/app/organisms/profile-viewer/ProfileViewer.jsx b/src/app/organisms/profile-viewer/ProfileViewer.jsx index 191678a3..590c6da9 100644 --- a/src/app/organisms/profile-viewer/ProfileViewer.jsx +++ b/src/app/organisms/profile-viewer/ProfileViewer.jsx @@ -257,7 +257,7 @@ function ProfileViewer() {
diff --git a/src/app/organisms/room/RoomViewContent.jsx b/src/app/organisms/room/RoomViewContent.jsx index 170d25d1..60bbca37 100644 --- a/src/app/organisms/room/RoomViewContent.jsx +++ b/src/app/organisms/room/RoomViewContent.jsx @@ -356,7 +356,7 @@ function RoomViewContent({