From d8b7b63dcaab46940a271939b7284100b7ac9328 Mon Sep 17 00:00:00 2001 From: RoiArthurB Date: Tue, 28 Apr 2020 17:43:27 +0700 Subject: [ZALO] Fix variable use Thanks @vantezzen --- all.json | 2 +- archives/zalo.tar.gz | Bin 51954 -> 51951 bytes uncompressed/zalo/package.json | 2 +- uncompressed/zalo/webview.js | 2 +- 4 files changed, 3 insertions(+), 3 deletions(-) diff --git a/all.json b/all.json index 1152af6..7aca725 100644 --- a/all.json +++ b/all.json @@ -1049,7 +1049,7 @@ "featured": false, "id": "zalo", "name": "Zalo", - "version": "1.1.0", + "version": "1.1.1", "icons": { "png": "https://cdn.jsdelivr.net/gh/getferdi/recipes/uncompressed/zalo/icon.png", "svg": "https://cdn.jsdelivr.net/gh/getferdi/recipes/uncompressed/zalo/icon.svg" diff --git a/archives/zalo.tar.gz b/archives/zalo.tar.gz index 8e33a97..c11f022 100644 Binary files a/archives/zalo.tar.gz and b/archives/zalo.tar.gz differ diff --git a/uncompressed/zalo/package.json b/uncompressed/zalo/package.json index 57c57ce..183fc20 100644 --- a/uncompressed/zalo/package.json +++ b/uncompressed/zalo/package.json @@ -1,7 +1,7 @@ { "id": "zalo", "name": "Zalo", - "version": "1.1.0", + "version": "1.1.1", "description": "Zalo", "main": "index.js", "author": "RoiArthurB ", diff --git a/uncompressed/zalo/webview.js b/uncompressed/zalo/webview.js index 34ae4ac..0f360c3 100644 --- a/uncompressed/zalo/webview.js +++ b/uncompressed/zalo/webview.js @@ -4,7 +4,7 @@ module.exports = Franz => { const getMessages = function getMessages() { var unread = 0 const notificationBadge = document.getElementsByClassName('tab-red-dot').length; - Franz.setBadge(unread); + Franz.setBadge(notificationBadge); }; Franz.loop(getMessages); -- cgit v1.2.3-70-g09d2