hide RoomStatusBar when not needed again

as it will be shown a lot less now, having the layout
jump up and down won't be so much of a problem.
This commit is contained in:
Bruno Windels 2019-01-22 14:50:31 +01:00
parent 14592b5b57
commit e5de33ab77

View file

@ -1473,11 +1473,10 @@ module.exports = React.createClass({
onStatusBarHidden: function() { onStatusBarHidden: function() {
// This is currently not desired as it is annoying if it keeps expanding and collapsing // This is currently not desired as it is annoying if it keeps expanding and collapsing
// TODO: Find a less annoying way of hiding the status bar if (this.unmounted) return;
/*if (this.unmounted) return;
this.setState({ this.setState({
statusBarVisible: false, statusBarVisible: false,
});*/ });
}, },
/** /**