Don't show the bar if the platform doesn't support notifs
This commit is contained in:
@@ -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 />
|
||||||
|
|||||||
Reference in New Issue
Block a user