diff options
Diffstat (limited to 'recipes/freshrss/webview.js')
-rw-r--r-- | recipes/freshrss/webview.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/recipes/freshrss/webview.js b/recipes/freshrss/webview.js index 75da933..cdc6e55 100644 --- a/recipes/freshrss/webview.js +++ b/recipes/freshrss/webview.js | |||
@@ -1,6 +1,6 @@ | |||
1 | "use strict"; | 1 | "use strict"; |
2 | 2 | ||
3 | module.exports = Ferdi => { | 3 | module.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; |
@@ -14,12 +14,12 @@ module.exports = Ferdi => { | |||
14 | // Some logic to handle the match groups | 14 | // Some logic to handle the match groups |
15 | unread = match != null && match.length > 0 ? match[0] : 0; | 15 | unread = match != null && match.length > 0 ? match[0] : 0; |
16 | // Set unread msgs badge | 16 | // Set unread msgs badge |
17 | Ferdi.setBadge(Number.parseInt(unread, 10)); | 17 | Ferdium.setBadge(Number.parseInt(unread, 10)); |
18 | }; | 18 | }; |
19 | 19 | ||
20 | const loopFunc = () => { | 20 | const loopFunc = () => { |
21 | getMessages(); | 21 | getMessages(); |
22 | }; | 22 | }; |
23 | 23 | ||
24 | Ferdi.loop(loopFunc); | 24 | Ferdium.loop(loopFunc); |
25 | }; | 25 | }; |