Skip to content

Commit

Permalink
fix(macOS): Only show services in Touch Bar that should be visible
Browse files Browse the repository at this point in the history
closes #1627
  • Loading branch information
adlk committed Sep 28, 2019
1 parent e34fb44 commit 077ad22
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/TouchBar.js
Expand Up @@ -29,7 +29,7 @@ export default class FranzTouchBar {
const { TouchBarButton, TouchBarSpacer } = TouchBar;

const buttons = [];
this.stores.services.enabled.forEach(((service) => {
this.stores.services.allDisplayed.forEach(((service) => {
buttons.push(new TouchBarButton({
label: `${service.name}${service.unreadDirectMessageCount > 0
? ' 🔴' : ''} ${service.unreadDirectMessageCount === 0
Expand Down

0 comments on commit 077ad22

Please sign in to comment.