diff options
Diffstat (limited to 'recipes/zalo')
-rw-r--r-- | recipes/zalo/index.js | 2 | ||||
-rw-r--r-- | recipes/zalo/package.json | 2 | ||||
-rw-r--r-- | recipes/zalo/webview.js | 6 |
3 files changed, 5 insertions, 5 deletions
diff --git a/recipes/zalo/index.js b/recipes/zalo/index.js index 258da41..23607bd 100644 --- a/recipes/zalo/index.js +++ b/recipes/zalo/index.js | |||
@@ -1 +1 @@ | |||
module.exports = Franz => Franz; | module.exports = Ferdi => Ferdi; | ||
diff --git a/recipes/zalo/package.json b/recipes/zalo/package.json index 1815891..ddbbbcd 100644 --- a/recipes/zalo/package.json +++ b/recipes/zalo/package.json | |||
@@ -1,7 +1,7 @@ | |||
1 | { | 1 | { |
2 | "id": "zalo", | 2 | "id": "zalo", |
3 | "name": "Zalo", | 3 | "name": "Zalo", |
4 | "version": "1.1.3", | 4 | "version": "1.2.0", |
5 | "license": "MIT", | 5 | "license": "MIT", |
6 | "config": { | 6 | "config": { |
7 | "serviceURL": "https://chat.zalo.me/", | 7 | "serviceURL": "https://chat.zalo.me/", |
diff --git a/recipes/zalo/webview.js b/recipes/zalo/webview.js index a89f0d3..2966ca1 100644 --- a/recipes/zalo/webview.js +++ b/recipes/zalo/webview.js | |||
@@ -1,9 +1,9 @@ | |||
1 | module.exports = Franz => { | 1 | module.exports = Ferdi => { |
2 | const getMessages = function getMessages() { | 2 | const getMessages = function getMessages() { |
3 | const unread = 0; | 3 | const unread = 0; |
4 | const notificationBadge = document.getElementsByClassName('tab-red-dot').length; | 4 | const notificationBadge = document.getElementsByClassName('tab-red-dot').length; |
5 | Franz.setBadge(notificationBadge); | 5 | Ferdi.setBadge(notificationBadge); |
6 | }; | 6 | }; |
7 | 7 | ||
8 | Franz.loop(getMessages); | 8 | Ferdi.loop(getMessages); |
9 | }; | 9 | }; |