diff options
Diffstat (limited to 'recipes/zalo')
-rw-r--r-- | recipes/zalo/package.json | 2 | ||||
-rw-r--r-- | recipes/zalo/webview.js | 3 |
2 files changed, 2 insertions, 3 deletions
diff --git a/recipes/zalo/package.json b/recipes/zalo/package.json index ddbbbcd..5b96163 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.2.0", | 4 | "version": "1.2.1", |
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 2966ca1..a79e29b 100644 --- a/recipes/zalo/webview.js +++ b/recipes/zalo/webview.js | |||
@@ -1,6 +1,5 @@ | |||
1 | module.exports = Ferdi => { | 1 | module.exports = Ferdi => { |
2 | const getMessages = function getMessages() { | 2 | const getMessages = () => { |
3 | const unread = 0; | ||
4 | const notificationBadge = document.getElementsByClassName('tab-red-dot').length; | 3 | const notificationBadge = document.getElementsByClassName('tab-red-dot').length; |
5 | Ferdi.setBadge(notificationBadge); | 4 | Ferdi.setBadge(notificationBadge); |
6 | }; | 5 | }; |