diff options
author | 2021-02-08 10:34:45 +0100 | |
---|---|---|
committer | 2021-02-08 10:34:45 +0100 | |
commit | 035002ceedf78d5ec73eabc0df7f06139939b967 (patch) | |
tree | 1c0d1e9531bae05fb65d70b9ea25baf404b74fe1 /src/features/todos/preload.js | |
parent | docs: add k0staa as a contributor (#1193) (diff) | |
download | ferdium-app-035002ceedf78d5ec73eabc0df7f06139939b967.tar.gz ferdium-app-035002ceedf78d5ec73eabc0df7f06139939b967.tar.zst ferdium-app-035002ceedf78d5ec73eabc0df7f06139939b967.zip |
Synchronize with Franz 5.6.0 (#1033)
Co-authored-by: FranzBot <i18n@meetfranz.com>
Co-authored-by: vantezzen <hello@vantezzen.io>
Co-authored-by: Makazzz <makazzzpro@live.ca>
Co-authored-by: Stefan Malzner <stefan@adlk.io>
Co-authored-by: Amine Mouafik <amine@mouafik.fr>
Diffstat (limited to 'src/features/todos/preload.js')
-rw-r--r-- | src/features/todos/preload.js | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/features/todos/preload.js b/src/features/todos/preload.js index d834cf547..9bd76a704 100644 --- a/src/features/todos/preload.js +++ b/src/features/todos/preload.js | |||
@@ -5,7 +5,12 @@ const debug = require('debug')('Ferdi:feature:todos:preload'); | |||
5 | 5 | ||
6 | debug('Preloading Todos Webview'); | 6 | debug('Preloading Todos Webview'); |
7 | 7 | ||
8 | let hostMessageListener = () => {}; | 8 | let hostMessageListener = ({ action }) => { |
9 | switch (action) { | ||
10 | case 'todos:initialize-as-service': ipcRenderer.sendToHost('hello'); break; | ||
11 | default: | ||
12 | } | ||
13 | }; | ||
9 | 14 | ||
10 | window.ferdi = { | 15 | window.ferdi = { |
11 | onInitialize(ipcHostMessageListener) { | 16 | onInitialize(ipcHostMessageListener) { |