Don't show the bar if the platform doesn't support notifs

This commit is contained in:
David Baker 2015-07-23 19:40:09 -07:00
parent 674f90f27f
commit 33f2955927
1 changed files with 1 additions and 1 deletions

View File

@ -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 />