Don't show the bar if the platform doesn't support notifs
This commit is contained in:
parent
674f90f27f
commit
33f2955927
skins/base/views/pages
|
@ -75,7 +75,7 @@ module.exports = React.createClass({
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!Notifier.isEnabled()) {
|
if (Notifier.supportsDesktopNotifications() && !Notifier.isEnabled()) {
|
||||||
return (
|
return (
|
||||||
<div className="mx_MatrixChat_wrapper">
|
<div className="mx_MatrixChat_wrapper">
|
||||||
<MatrixToolbar />
|
<MatrixToolbar />
|
||||||
|
|
Loading…
Reference in New Issue