aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib
diff options
context:
space:
mode:
authorLibravatar Stefan Malzner <stefan@adlk.io>2017-11-20 14:23:36 +0100
committerLibravatar Stefan Malzner <stefan@adlk.io>2017-11-20 14:23:36 +0100
commit600e1b6e6fd64f5d6fe05017524f2ef0441d3035 (patch)
tree1b2160ac750fb408fa96a308beff562c009120ee /src/lib
parentfix(macOS): Fix touchbar related crash on macOS 10.12.1 and lower (diff)
downloadferdium-app-600e1b6e6fd64f5d6fe05017524f2ef0441d3035.tar.gz
ferdium-app-600e1b6e6fd64f5d6fe05017524f2ef0441d3035.tar.zst
ferdium-app-600e1b6e6fd64f5d6fe05017524f2ef0441d3035.zip
remove _setEscapeTouchBarItem test
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/TouchBar.js2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/lib/TouchBar.js b/src/lib/TouchBar.js
index 6831c7870..97c02d194 100644
--- a/src/lib/TouchBar.js
+++ b/src/lib/TouchBar.js
@@ -24,8 +24,6 @@ export default class FranzTouchBar {
24 _build() { 24 _build() {
25 const currentWindow = remote.getCurrentWindow(); 25 const currentWindow = remote.getCurrentWindow();
26 26
27 currentWindow._setEscapeTouchBarItem = () => {};
28
29 if (this.stores.user.isLoggedIn) { 27 if (this.stores.user.isLoggedIn) {
30 const { TouchBar } = remote; 28 const { TouchBar } = remote;
31 const { TouchBarButton, TouchBarSpacer } = TouchBar; 29 const { TouchBarButton, TouchBarSpacer } = TouchBar;