aboutsummaryrefslogtreecommitdiffstats
path: root/src/features/todos
diff options
context:
space:
mode:
authorLibravatar Aditya Mangalampalli <aditya.mangalampalli@gmail.com>2022-04-15 02:00:25 -0700
committerLibravatar Vijay A <vraravam@users.noreply.github.com>2022-04-16 21:57:57 +0530
commit210131ca184c3aa043371857c022aa1aa149efbf (patch)
tree6bc4e10a1540e55a66146c099bc468a12287425e /src/features/todos
parentUpdate submodule url to ferdium-recipes (#1) (diff)
downloadferdium-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.ts8
-rw-r--r--src/features/todos/store.js2
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 @@
1import { ipcRenderer } from 'electron'; 1import { ipcRenderer } from 'electron';
2import { IPC } from './constants'; 2import { IPC } from './constants';
3 3
4const debug = require('debug')('Ferdi:feature:todos:preload'); 4const debug = require('debug')('Ferdium:feature:todos:preload');
5 5
6debug('Preloading Todos Webview'); 6debug('Preloading Todos Webview');
7 7
@@ -14,7 +14,7 @@ let hostMessageListener = ({ action }) => {
14 } 14 }
15}; 15};
16 16
17window['ferdi'] = { 17window['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.
38This service will only work with accounts registered with Franz - no Ferdi accounts will work here! 38This service will only work with accounts registered with Franz - no Ferdium accounts will work here!
39If you do not have a Franz account you can change the Todo service by going into Ferdi's settings and changing the "Todo server". 39If you do not have a Franz account you can change the Todo service by going into Ferdium's settings and changing the "Todo server".
40You can choose any service as this Todo server, e.g. Todoist or Apple Notes.`; 40You 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';
18import { IPC, TODOS_ROUTES } from './constants'; 18import { IPC, TODOS_ROUTES } from './constants';
19import UserAgent from '../../models/UserAgent'; 19import UserAgent from '../../models/UserAgent';
20 20
21const debug = require('debug')('Ferdi:feature:todos:store'); 21const debug = require('debug')('Ferdium:feature:todos:store');
22 22
23export default class TodoStore extends FeatureStore { 23export default class TodoStore extends FeatureStore {
24 @observable stores = null; 24 @observable stores = null;