From 212d5846427ceeacfadf5aac3f381b532f4664a1 Mon Sep 17 00:00:00 2001 From: Vijay A Date: Tue, 17 Aug 2021 10:47:32 +0530 Subject: Cleanup of recipes to remove 'NaN' of badge variables since this is handled in the main program. --- recipes/icq/package.json | 2 +- recipes/icq/webview.js | 4 ---- 2 files changed, 1 insertion(+), 5 deletions(-) (limited to 'recipes/icq') diff --git a/recipes/icq/package.json b/recipes/icq/package.json index f8180f0..13d0f5e 100644 --- a/recipes/icq/package.json +++ b/recipes/icq/package.json @@ -1,7 +1,7 @@ { "id": "icq", "name": "ICQ", - "version": "1.0.2", + "version": "1.0.3", "license": "MIT", "repository": "https://github.com/meetfranz/recipe-icq", "config": { diff --git a/recipes/icq/webview.js b/recipes/icq/webview.js index 07888c2..9114d24 100644 --- a/recipes/icq/webview.js +++ b/recipes/icq/webview.js @@ -13,10 +13,6 @@ module.exports = Franz => { } } - if (isNaN(directs)) { - directs = 0; - } - Franz.setBadge(directs); }; -- cgit v1.2.3-54-g00ecf