aboutsummaryrefslogtreecommitdiffstats
path: root/src/features/todos/preload.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/features/todos/preload.js')
-rw-r--r--src/features/todos/preload.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/features/todos/preload.js b/src/features/todos/preload.js
index 6e38a2ef3..d1838e0d6 100644
--- a/src/features/todos/preload.js
+++ b/src/features/todos/preload.js
@@ -1,13 +1,13 @@
1import { ipcRenderer } from 'electron'; 1import { ipcRenderer } from 'electron';
2import { IPC } from './constants'; 2import { IPC } from './constants';
3 3
4const debug = require('debug')('Franz:feature:todos:preload'); 4const debug = require('debug')('Ferdi:feature:todos:preload');
5 5
6debug('Preloading Todos Webview'); 6debug('Preloading Todos Webview');
7 7
8let hostMessageListener = () => {}; 8let hostMessageListener = () => {};
9 9
10window.franz = { 10window.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' });