You've already forked element-web
mirror of
https://github.com/element-hq/element-web.git
synced 2025-11-29 21:23:11 +03:00
prioritise new version bar
This commit is contained in:
@@ -1052,15 +1052,15 @@ module.exports = React.createClass({
|
||||
}
|
||||
|
||||
var topBar;
|
||||
if (MatrixClientPeg.get().isGuest()) {
|
||||
if (this.state.hasNewVersion) {
|
||||
topBar = <NewVersionBar />;
|
||||
}
|
||||
else if (MatrixClientPeg.get().isGuest()) {
|
||||
topBar = <GuestWarningBar />;
|
||||
}
|
||||
else if (Notifier.supportsDesktopNotifications() && !Notifier.isEnabled() && !Notifier.isToolbarHidden()) {
|
||||
topBar = <MatrixToolbar />;
|
||||
}
|
||||
else if (this.state.hasNewVersion) {
|
||||
topBar = <NewVersionBar />;
|
||||
}
|
||||
|
||||
var bodyClasses = "mx_MatrixChat";
|
||||
if (topBar) {
|
||||
|
||||
Reference in New Issue
Block a user