rename TopLeftMenu to TopLeftMenuButton

so the former can be the actual menu
This commit is contained in:
Bruno Windels 2018-10-23 13:29:44 +02:00
parent 0992408930
commit 5f1cf07543
3 changed files with 84 additions and 7 deletions

View file

@ -178,11 +178,11 @@ var LeftPanel = React.createClass({
render: function() {
const RoomList = sdk.getComponent('rooms.RoomList');
const TagPanel = sdk.getComponent('structures.TagPanel');
const TopLeftMenu = sdk.getComponent('structures.TopLeftMenu');
const TopLeftMenuButton = sdk.getComponent('structures.TopLeftMenuButton');
const BottomLeftMenu = sdk.getComponent('structures.BottomLeftMenu');
const CallPreview = sdk.getComponent('voip.CallPreview');
let topBox = <TopLeftMenu collapsed={ this.props.collapsed }/>;
let topBox = <TopLeftMenuButton collapsed={ this.props.collapsed }/>;
/*
if (this.context.matrixClient.isGuest()) {
const LoginBox = sdk.getComponent('structures.LoginBox');