mirror of
https://github.com/element-hq/element-web.git
synced 2024-12-16 01:11:44 +03:00
add comment - explain conditional statusBar
This commit is contained in:
parent
a53886a630
commit
1c7a89b2e4
1 changed files with 2 additions and 0 deletions
|
@ -1852,6 +1852,8 @@ export default class RoomView extends React.Component<IProps, IState> {
|
||||||
"mx_RoomView_statusArea_expanded": isStatusAreaExpanded,
|
"mx_RoomView_statusArea_expanded": isStatusAreaExpanded,
|
||||||
});
|
});
|
||||||
|
|
||||||
|
// if statusBar does not exist then statusBarArea is blank and takes up unnecessary space on the screen
|
||||||
|
// show statusBarArea only if statusBar is present
|
||||||
const statusBarArea = statusBar && <div className={statusBarAreaClass}>
|
const statusBarArea = statusBar && <div className={statusBarAreaClass}>
|
||||||
<div className="mx_RoomView_statusAreaBox">
|
<div className="mx_RoomView_statusAreaBox">
|
||||||
<div className="mx_RoomView_statusAreaBox_line" />
|
<div className="mx_RoomView_statusAreaBox_line" />
|
||||||
|
|
Loading…
Reference in a new issue