aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/tt-rss
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/tt-rss')
-rw-r--r--recipes/tt-rss/README.md2
-rw-r--r--recipes/tt-rss/index.js2
-rw-r--r--recipes/tt-rss/package.json2
-rw-r--r--recipes/tt-rss/webview.js6
4 files changed, 6 insertions, 6 deletions
diff --git a/recipes/tt-rss/README.md b/recipes/tt-rss/README.md
index a6620e5..d0ef122 100644
--- a/recipes/tt-rss/README.md
+++ b/recipes/tt-rss/README.md
@@ -1,3 +1,3 @@
1# Tiny Tiny RSS for Ferdi 1# Tiny Tiny RSS for Ferdium
2 2
3Support for [Tiny Tiny RSS](https://tt-rss.org/) 3Support for [Tiny Tiny RSS](https://tt-rss.org/)
diff --git a/recipes/tt-rss/index.js b/recipes/tt-rss/index.js
index cd5b37c..3b384eb 100644
--- a/recipes/tt-rss/index.js
+++ b/recipes/tt-rss/index.js
@@ -1,3 +1,3 @@
1"use strict"; 1"use strict";
2 2
3module.exports = Ferdi => Ferdi; 3module.exports = Ferdium => Ferdium;
diff --git a/recipes/tt-rss/package.json b/recipes/tt-rss/package.json
index bcfa970..2b3a305 100644
--- a/recipes/tt-rss/package.json
+++ b/recipes/tt-rss/package.json
@@ -1,7 +1,7 @@
1{ 1{
2 "id": "tt-rss", 2 "id": "tt-rss",
3 "name": "Tiny Tiny RSS", 3 "name": "Tiny Tiny RSS",
4 "version": "1.0.0", 4 "version": "1.1.0",
5 "license": "MIT", 5 "license": "MIT",
6 "config": { 6 "config": {
7 "hasCustomUrl": true 7 "hasCustomUrl": true
diff --git a/recipes/tt-rss/webview.js b/recipes/tt-rss/webview.js
index 1bb700a..3e3a0d3 100644
--- a/recipes/tt-rss/webview.js
+++ b/recipes/tt-rss/webview.js
@@ -1,6 +1,6 @@
1"use strict"; 1"use strict";
2 2
3module.exports = Ferdi => { 3module.exports = Ferdium => {
4 const getMessages = function getMessages() { 4 const getMessages = function getMessages() {
5 // Initialize empty vars 5 // Initialize empty vars
6 var unread = 0; 6 var unread = 0;
@@ -10,12 +10,12 @@ module.exports = Ferdi => {
10 // Some logic to handle the match groups 10 // Some logic to handle the match groups
11 unread = match != null && match.length > 0 ? match[1] : 0; 11 unread = match != null && match.length > 0 ? match[1] : 0;
12 // Set unread msgs badge 12 // Set unread msgs badge
13 Ferdi.setBadge(Number.parseInt(unread, 10)); 13 Ferdium.setBadge(Number.parseInt(unread, 10));
14 }; 14 };
15 15
16 const loopFunc = () => { 16 const loopFunc = () => {
17 getMessages(); 17 getMessages();
18 }; 18 };
19 19
20 Ferdi.loop(loopFunc); 20 Ferdium.loop(loopFunc);
21}; 21};