diff options
author | 2017-11-20 14:23:36 +0100 | |
---|---|---|
committer | 2017-11-20 14:23:36 +0100 | |
commit | 600e1b6e6fd64f5d6fe05017524f2ef0441d3035 (patch) | |
tree | 1b2160ac750fb408fa96a308beff562c009120ee /src/lib/TouchBar.js | |
parent | fix(macOS): Fix touchbar related crash on macOS 10.12.1 and lower (diff) | |
download | ferdium-app-600e1b6e6fd64f5d6fe05017524f2ef0441d3035.tar.gz ferdium-app-600e1b6e6fd64f5d6fe05017524f2ef0441d3035.tar.zst ferdium-app-600e1b6e6fd64f5d6fe05017524f2ef0441d3035.zip |
remove _setEscapeTouchBarItem test
Diffstat (limited to 'src/lib/TouchBar.js')
-rw-r--r-- | src/lib/TouchBar.js | 2 |
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; |