diff --git a/res/css/structures/_SpacePanel.pcss b/res/css/structures/_SpacePanel.pcss index 664d781829a..936bd8fd8dc 100644 --- a/res/css/structures/_SpacePanel.pcss +++ b/res/css/structures/_SpacePanel.pcss @@ -30,6 +30,11 @@ Please see LICENSE files in the repository root for full details. width: 68px; } + &.newUi { + background-color: var(--cpd-color-bg-canvas-default); + border-right: 1px solid var(--cpd-color-bg-subtle-primary); + } + .mx_SpacePanel_toggleCollapse { position: absolute; width: 18px; diff --git a/src/components/structures/LoggedInView.tsx b/src/components/structures/LoggedInView.tsx index cf68f85b4cd..2f57e73f3b5 100644 --- a/src/components/structures/LoggedInView.tsx +++ b/src/components/structures/LoggedInView.tsx @@ -701,6 +701,8 @@ class LoggedInView extends React.Component { return ; }); + const newRoomListEnabled = SettingsStore.getValue("feature_new_room_list"); + return (
{
- + {!newRoomListEnabled && ( + + )} - + {!newRoomListEnabled && }
{ } }); + const newRoomListEnabled = useSettingValue("feature_new_room_list"); + return ( {({ onKeyDownHandler, onDragEndHandler }) => ( @@ -378,7 +380,10 @@ const SpacePanel: React.FC = () => { }} >