diff options
author | 2019-09-20 09:53:39 +0200 | |
---|---|---|
committer | 2019-09-20 09:53:39 +0200 | |
commit | 28a73453ab2816cd9375f665a3e416a3eabe51d4 (patch) | |
tree | 0420bd2b3290d16a712ea3ba09ad4b45f9bc57fc /src | |
parent | Fix AppVeyor project link on build status badge (diff) | |
download | ferdium-app-28a73453ab2816cd9375f665a3e416a3eabe51d4.tar.gz ferdium-app-28a73453ab2816cd9375f665a3e416a3eabe51d4.tar.zst ferdium-app-28a73453ab2816cd9375f665a3e416a3eabe51d4.zip |
Fix Todos menu
Diffstat (limited to 'src')
-rw-r--r-- | src/features/todos/preload.js | 2 | ||||
-rw-r--r-- | src/lib/Menu.js | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/features/todos/preload.js b/src/features/todos/preload.js index 412b775af..d1838e0d6 100644 --- a/src/features/todos/preload.js +++ b/src/features/todos/preload.js | |||
@@ -7,7 +7,7 @@ debug('Preloading Todos Webview'); | |||
7 | 7 | ||
8 | let hostMessageListener = () => {}; | 8 | let hostMessageListener = () => {}; |
9 | 9 | ||
10 | window.franz = { | 10 | window.ferdi = { |
11 | onInitialize(ipcHostMessageListener) { | 11 | onInitialize(ipcHostMessageListener) { |
12 | hostMessageListener = ipcHostMessageListener; | 12 | hostMessageListener = ipcHostMessageListener; |
13 | ipcRenderer.sendToHost(IPC.TODOS_CLIENT_CHANNEL, { action: 'todos:initialized' }); | 13 | ipcRenderer.sendToHost(IPC.TODOS_CLIENT_CHANNEL, { action: 'todos:initialized' }); |
diff --git a/src/lib/Menu.js b/src/lib/Menu.js index f5e55fbfa..2898fcad1 100644 --- a/src/lib/Menu.js +++ b/src/lib/Menu.js | |||
@@ -994,7 +994,7 @@ export default class FranzMenu { | |||
994 | 994 | ||
995 | todosMenu() { | 995 | todosMenu() { |
996 | const { isTodosPanelVisible, isFeatureEnabledByUser } = this.stores.todos; | 996 | const { isTodosPanelVisible, isFeatureEnabledByUser } = this.stores.todos; |
997 | const { intl } = window.franz; | 997 | const { intl } = window.ferdi; |
998 | const menu = []; | 998 | const menu = []; |
999 | 999 | ||
1000 | const drawerLabel = isTodosPanelVisible ? menuItems.closeTodosDrawer : menuItems.openTodosDrawer; | 1000 | const drawerLabel = isTodosPanelVisible ? menuItems.closeTodosDrawer : menuItems.openTodosDrawer; |