Skip to content

Commit 33f2955

Browse files
committed
Don't show the bar if the platform doesn't support notifs
1 parent 674f90f commit 33f2955

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎skins/base/views/pages/MatrixChat.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ module.exports = React.createClass({
7575
break;
7676
}
7777

78-
if (!Notifier.isEnabled()) {
78+
if (Notifier.supportsDesktopNotifications() && !Notifier.isEnabled()) {
7979
return (
8080
<div className="mx_MatrixChat_wrapper">
8181
<MatrixToolbar />

0 commit comments

Comments
 (0)