move comment to the correct place
This commit is contained in:
@@ -260,13 +260,12 @@ class LoggedInView extends React.Component<IProps, IState> {
|
|||||||
let panelSize: number | null;
|
let panelSize: number | null;
|
||||||
let panelCollapsed: boolean;
|
let panelCollapsed: boolean;
|
||||||
const useNewRoomList = SettingsStore.getValue("feature_new_room_list");
|
const useNewRoomList = SettingsStore.getValue("feature_new_room_list");
|
||||||
|
// TODO decrease this once Spaces launches as it'll no longer need to include the 56px Community Panel
|
||||||
let toggleSize = 206 - 50;
|
let toggleSize = 206 - 50;
|
||||||
if (useNewRoomList) {
|
if (useNewRoomList) {
|
||||||
toggleSize = 232;
|
toggleSize = 232;
|
||||||
}
|
}
|
||||||
|
|
||||||
const collapseConfig: ICollapseConfig = {
|
const collapseConfig: ICollapseConfig = {
|
||||||
// TODO decrease this once Spaces launches as it'll no longer need to include the 56px Community Panel
|
|
||||||
toggleSize: toggleSize,
|
toggleSize: toggleSize,
|
||||||
onCollapsed: (collapsed) => {
|
onCollapsed: (collapsed) => {
|
||||||
panelCollapsed = collapsed;
|
panelCollapsed = collapsed;
|
||||||
|
|||||||
Reference in New Issue
Block a user