From 077ad229bf4ef9e1ba22c8cf3ceb21c82dc77062 Mon Sep 17 00:00:00 2001 From: Stefan Malzner Date: Sat, 28 Sep 2019 20:05:53 +0200 Subject: fix(macOS): Only show services in Touch Bar that should be visible closes #1627 --- src/lib/TouchBar.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/TouchBar.js b/src/lib/TouchBar.js index e10e53001..1de46d2a3 100644 --- a/src/lib/TouchBar.js +++ b/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 -- cgit v1.2.3-54-g00ecf