Remove stale things

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
Michael Telatynski 2020-10-13 12:27:50 +01:00
parent afacf8c6b7
commit f72b1e0c7d
5 changed files with 0 additions and 88 deletions

View file

@ -38,12 +38,10 @@ export default class AppsDrawer extends React.Component {
room: PropTypes.object.isRequired,
resizeNotifier: PropTypes.instanceOf(ResizeNotifier).isRequired,
showApps: PropTypes.bool, // Should apps be rendered
hide: PropTypes.bool, // If rendered, should apps drawer be visible
};
static defaultProps = {
showApps: true,
hide: false,
};
constructor(props) {
@ -147,9 +145,7 @@ export default class AppsDrawer extends React.Component {
const classes = classNames({
mx_AppsDrawer: true,
mx_AppsDrawer_hidden: this.props.hide,
mx_AppsDrawer_fullWidth: apps.length < 2,
mx_AppsDrawer_minimised: !this.props.showApps,
mx_AppsDrawer_resizing: this.state.resizing,
});