diff --git a/res/css/structures/_SpacePanel.scss b/res/css/structures/_SpacePanel.scss index 524d101ff8..d999ff89b8 100644 --- a/res/css/structures/_SpacePanel.scss +++ b/res/css/structures/_SpacePanel.scss @@ -372,6 +372,10 @@ $activeBorderColor: $primary-content; line-height: $font-18px; } + .mx_SpacePanel_iconHome::before { + mask-image: url('$(res)/img/element-icons/home.svg'); + } + .mx_SpacePanel_iconInvite::before { mask-image: url('$(res)/img/element-icons/room/invite.svg'); } @@ -393,7 +397,7 @@ $activeBorderColor: $primary-content; } .mx_SpacePanel_iconExplore::before { - mask-image: url('$(res)/img/element-icons/roomlist/search.svg'); + mask-image: url('$(res)/img/element-icons/roomlist/hash-search.svg'); } .mx_SpacePanel_iconPreferences::before { diff --git a/res/css/structures/_UserMenu.scss b/res/css/structures/_UserMenu.scss index a8b488c1b5..aa4e7d6403 100644 --- a/res/css/structures/_UserMenu.scss +++ b/res/css/structures/_UserMenu.scss @@ -169,7 +169,7 @@ limitations under the License. } .mx_UserMenu_iconHome::before { - mask-image: url('$(res)/img/element-icons/roomlist/home.svg'); + mask-image: url('$(res)/img/element-icons/home.svg'); } .mx_UserMenu_iconDnd::before { diff --git a/res/img/element-icons/home.svg b/res/img/element-icons/home.svg index a6c15456ff..9ca0b82716 100644 --- a/res/img/element-icons/home.svg +++ b/res/img/element-icons/home.svg @@ -1,3 +1,3 @@ - - + + diff --git a/res/img/element-icons/roomlist/home.svg b/res/img/element-icons/roomlist/home.svg deleted file mode 100644 index 9598ccf184..0000000000 --- a/res/img/element-icons/roomlist/home.svg +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/src/components/views/context_menus/SpaceContextMenu.tsx b/src/components/views/context_menus/SpaceContextMenu.tsx index 0525f4f175..f8355681ee 100644 --- a/src/components/views/context_menus/SpaceContextMenu.tsx +++ b/src/components/views/context_menus/SpaceContextMenu.tsx @@ -128,7 +128,7 @@ const SpaceContextMenu = ({ space, hideHeader, onFinished, ...props }: IProps) = const canAddRooms = space.currentState.maySendStateEvent(EventType.SpaceChild, userId); - let newRoomSection; + let newRoomSection: JSX.Element; if (space.currentState.maySendStateEvent(EventType.SpaceChild, userId)) { const onNewRoomClick = (ev: ButtonEvent) => { ev.preventDefault(); @@ -194,6 +194,11 @@ const SpaceContextMenu = ({ space, hideHeader, onFinished, ...props }: IProps) = { space.name } } + { inviteOption }