Skip to content
Permalink
Browse files

fix(macOS): Only show services in Touch Bar that should be visible

closes #1627
  • Loading branch information...
adlk committed Sep 28, 2019
1 parent e34fb44 commit 077ad229bf4ef9e1ba22c8cf3ceb21c82dc77062
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/lib/TouchBar.js
@@ -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

0 comments on commit 077ad22

Please sign in to comment.
You can’t perform that action at this time.