From 224a4d786b2c3e7c5a43b1daaf4ff877b0fb5fc1 Mon Sep 17 00:00:00 2001 From: Laurent Cozic Date: Mon, 16 Sep 2019 22:54:40 +0100 Subject: [PATCH] Desktop: Fixed broken menu bar --- ElectronClient/app/app.js | 4 ++-- ReactNativeClient/start_emulator.bat | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) delete mode 100644 ReactNativeClient/start_emulator.bat diff --git a/ElectronClient/app/app.js b/ElectronClient/app/app.js index 83b153e86..1093c6027 100644 --- a/ElectronClient/app/app.js +++ b/ElectronClient/app/app.js @@ -535,7 +535,7 @@ class Application extends BaseApplication { }, }); - const toolsItems = toolsItemsFirst.push({ + const toolsItems = toolsItemsFirst.concat([{ label: _('Options'), visible: !shim.isMac(), accelerator: 'CommandOrControl+,', @@ -545,7 +545,7 @@ class Application extends BaseApplication { routeName: 'Config', }); }, - }); + }]); function _checkForUpdates(ctx) { bridge().checkForUpdates(false, bridge().window(), ctx.checkForUpdateLoggerPath(), { includePreReleases: Setting.value('autoUpdate.includePreReleases') }); diff --git a/ReactNativeClient/start_emulator.bat b/ReactNativeClient/start_emulator.bat deleted file mode 100644 index 5665fef15..000000000 --- a/ReactNativeClient/start_emulator.bat +++ /dev/null @@ -1 +0,0 @@ -c:\Users\Laurent\AppData\Local\Android\sdk\tools\emulator.exe -avd Nexus_5X_API_23_Google_API_ \ No newline at end of file