aboutsummaryrefslogtreecommitdiffstats
path: root/src/features/todos/preload.js
diff options
context:
space:
mode:
authorLibravatar Amine El Mouafik <412895+kytwb@users.noreply.github.com>2021-02-08 10:34:45 +0100
committerLibravatar GitHub <noreply@github.com>2021-02-08 10:34:45 +0100
commit035002ceedf78d5ec73eabc0df7f06139939b967 (patch)
tree1c0d1e9531bae05fb65d70b9ea25baf404b74fe1 /src/features/todos/preload.js
parentdocs: add k0staa as a contributor (#1193) (diff)
downloadferdium-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.js7
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
6debug('Preloading Todos Webview'); 6debug('Preloading Todos Webview');
7 7
8let hostMessageListener = () => {}; 8let hostMessageListener = ({ action }) => {
9 switch (action) {
10 case 'todos:initialize-as-service': ipcRenderer.sendToHost('hello'); break;
11 default:
12 }
13};
9 14
10window.ferdi = { 15window.ferdi = {
11 onInitialize(ipcHostMessageListener) { 16 onInitialize(ipcHostMessageListener) {