aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/rainloop
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/rainloop')
-rw-r--r--recipes/rainloop/index.js2
-rw-r--r--recipes/rainloop/package.json2
-rw-r--r--recipes/rainloop/webview.js10
3 files changed, 7 insertions, 7 deletions
diff --git a/recipes/rainloop/index.js b/recipes/rainloop/index.js
index 23607bd..dd41f72 100644
--- a/recipes/rainloop/index.js
+++ b/recipes/rainloop/index.js
@@ -1 +1 @@
module.exports = Ferdi => Ferdi; module.exports = Ferdium => Ferdium;
diff --git a/recipes/rainloop/package.json b/recipes/rainloop/package.json
index 79deb2d..3c9ce18 100644
--- a/recipes/rainloop/package.json
+++ b/recipes/rainloop/package.json
@@ -1,7 +1,7 @@
1{ 1{
2 "id": "rainloop", 2 "id": "rainloop",
3 "name": "RainLoop", 3 "name": "RainLoop",
4 "version": "1.1.2", 4 "version": "1.2.0",
5 "repository": "https://github.com/promarcel/franz-recipe-rainloop", 5 "repository": "https://github.com/promarcel/franz-recipe-rainloop",
6 "license": "MIT", 6 "license": "MIT",
7 "config": { 7 "config": {
diff --git a/recipes/rainloop/webview.js b/recipes/rainloop/webview.js
index 0a29849..6b0c3d6 100644
--- a/recipes/rainloop/webview.js
+++ b/recipes/rainloop/webview.js
@@ -1,4 +1,4 @@
1module.exports = Ferdi => { 1module.exports = Ferdium => {
2 const getMessages = () => { 2 const getMessages = () => {
3 let messages = 0; 3 let messages = 0;
4 4
@@ -11,16 +11,16 @@ module.exports = Ferdi => {
11 if (obj.classList.contains('system')) { 11 if (obj.classList.contains('system')) {
12 // Only count the Inbox system folder and ignore Archive, Trash, Drafts, Spam, Sent 12 // Only count the Inbox system folder and ignore Archive, Trash, Drafts, Spam, Sent
13 if (obj.classList.contains('i-am-inbox')) { 13 if (obj.classList.contains('i-am-inbox')) {
14 messages += Ferdi.safeParseInt(countText); 14 messages += Ferdium.safeParseInt(countText);
15 } 15 }
16 } else { 16 } else {
17 messages += Ferdi.safeParseInt(countText); 17 messages += Ferdium.safeParseInt(countText);
18 } 18 }
19 } 19 }
20 } 20 }
21 21
22 Ferdi.setBadge(messages); 22 Ferdium.setBadge(messages);
23 }; 23 };
24 24
25 Ferdi.loop(getMessages); 25 Ferdium.loop(getMessages);
26}; 26};