mirror of
https://github.com/vector-im/element-web.git
synced 2026-05-05 04:06:44 +02:00
logic to show/hide toolbar shifted to MatrixChat::render
Signed-off-by: Minhaz A V <minhazav@gmail.com>
This commit is contained in:
parent
cbcf23f30a
commit
349b472056
@ -1046,7 +1046,7 @@ module.exports = React.createClass({
|
||||
if (MatrixClientPeg.get().isGuest()) {
|
||||
topBar = <GuestWarningBar />;
|
||||
}
|
||||
else if (Notifier.supportsDesktopNotifications() && !Notifier.isEnabled() && !Notifier.isToolbarHidden()) {
|
||||
else if (Notifier.supportsDesktopNotifications() && Notifier.shouldShowToolbar()) {
|
||||
topBar = <MatrixToolbar />;
|
||||
}
|
||||
else if (this.state.hasNewVersion) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user