mirror of
https://github.com/SchildiChat/element-web.git
synced 2024-10-01 01:26:12 -04:00
Don't show the bar if the platform doesn't support notifs
This commit is contained in:
parent
674f90f27f
commit
33f2955927
@ -75,7 +75,7 @@ module.exports = React.createClass({
|
||||
break;
|
||||
}
|
||||
|
||||
if (!Notifier.isEnabled()) {
|
||||
if (Notifier.supportsDesktopNotifications() && !Notifier.isEnabled()) {
|
||||
return (
|
||||
<div className="mx_MatrixChat_wrapper">
|
||||
<MatrixToolbar />
|
||||
|
Loading…
Reference in New Issue
Block a user