diff options
Diffstat (limited to 'src/features/todos/preload.ts')
-rw-r--r-- | src/features/todos/preload.ts | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/features/todos/preload.ts b/src/features/todos/preload.ts index 31d473051..896d82bdf 100644 --- a/src/features/todos/preload.ts +++ b/src/features/todos/preload.ts | |||
@@ -1,7 +1,7 @@ | |||
1 | import { ipcRenderer } from 'electron'; | 1 | import { ipcRenderer } from 'electron'; |
2 | import { IPC } from './constants'; | 2 | import { IPC } from './constants'; |
3 | 3 | ||
4 | const debug = require('debug')('Ferdi:feature:todos:preload'); | 4 | const debug = require('debug')('Ferdium:feature:todos:preload'); |
5 | 5 | ||
6 | debug('Preloading Todos Webview'); | 6 | debug('Preloading Todos Webview'); |
7 | 7 | ||
@@ -14,7 +14,7 @@ let hostMessageListener = ({ action }) => { | |||
14 | } | 14 | } |
15 | }; | 15 | }; |
16 | 16 | ||
17 | window['ferdi'] = { | 17 | window['ferdium'] = { |
18 | onInitialize(ipcHostMessageListener) { | 18 | onInitialize(ipcHostMessageListener) { |
19 | hostMessageListener = ipcHostMessageListener; | 19 | hostMessageListener = ipcHostMessageListener; |
20 | ipcRenderer.sendToHost(IPC.TODOS_CLIENT_CHANNEL, { | 20 | ipcRenderer.sendToHost(IPC.TODOS_CLIENT_CHANNEL, { |
@@ -35,8 +35,8 @@ if (window.location.href === 'https://app.franztodos.com/login/') { | |||
35 | // Insert info element informing about Franz accounts | 35 | // Insert info element informing about Franz accounts |
36 | const infoElement = document.createElement('p'); | 36 | const infoElement = document.createElement('p'); |
37 | infoElement.textContent = `You are using Franz's official Todo Service. | 37 | infoElement.textContent = `You are using Franz's official Todo Service. |
38 | This service will only work with accounts registered with Franz - no Ferdi accounts will work here! | 38 | This service will only work with accounts registered with Franz - no Ferdium accounts will work here! |
39 | If you do not have a Franz account you can change the Todo service by going into Ferdi's settings and changing the "Todo server". | 39 | If you do not have a Franz account you can change the Todo service by going into Ferdium's settings and changing the "Todo server". |
40 | You can choose any service as this Todo server, e.g. Todoist or Apple Notes.`; | 40 | You can choose any service as this Todo server, e.g. Todoist or Apple Notes.`; |
41 | 41 | ||
42 | // Franz Todos uses React. Because of this we can't directly insert the element into the page | 42 | // Franz Todos uses React. Because of this we can't directly insert the element into the page |