diff options
author | Aditya Mangalampalli <aditya.mangalampalli@gmail.com> | 2022-04-15 02:00:25 -0700 |
---|---|---|
committer | Vijay A <vraravam@users.noreply.github.com> | 2022-04-16 21:57:57 +0530 |
commit | 210131ca184c3aa043371857c022aa1aa149efbf (patch) | |
tree | 6bc4e10a1540e55a66146c099bc468a12287425e /src/features/todos | |
parent | Update submodule url to ferdium-recipes (#1) (diff) | |
download | ferdium-app-210131ca184c3aa043371857c022aa1aa149efbf.tar.gz ferdium-app-210131ca184c3aa043371857c022aa1aa149efbf.tar.zst ferdium-app-210131ca184c3aa043371857c022aa1aa149efbf.zip |
Matched casing for almost all replacements
Diffstat (limited to 'src/features/todos')
-rw-r--r-- | src/features/todos/preload.ts | 8 | ||||
-rw-r--r-- | src/features/todos/store.js | 2 |
2 files changed, 5 insertions, 5 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 |
diff --git a/src/features/todos/store.js b/src/features/todos/store.js index 2bf4e8fab..90ea47c71 100644 --- a/src/features/todos/store.js +++ b/src/features/todos/store.js | |||
@@ -18,7 +18,7 @@ import { createActionBindings } from '../utils/ActionBinding'; | |||
18 | import { IPC, TODOS_ROUTES } from './constants'; | 18 | import { IPC, TODOS_ROUTES } from './constants'; |
19 | import UserAgent from '../../models/UserAgent'; | 19 | import UserAgent from '../../models/UserAgent'; |
20 | 20 | ||
21 | const debug = require('debug')('Ferdi:feature:todos:store'); | 21 | const debug = require('debug')('Ferdium:feature:todos:store'); |
22 | 22 | ||
23 | export default class TodoStore extends FeatureStore { | 23 | export default class TodoStore extends FeatureStore { |
24 | @observable stores = null; | 24 | @observable stores = null; |