diff options
author | 2021-08-17 10:47:32 +0530 | |
---|---|---|
committer | 2021-08-17 10:47:32 +0530 | |
commit | 212d5846427ceeacfadf5aac3f381b532f4664a1 (patch) | |
tree | 7badcbb01930e77a2b2745e189e89323111ef470 /recipes/icq | |
parent | Moved all npm packages to the 'devDependencies' since there is no node-runtim... (diff) | |
download | ferdium-recipes-212d5846427ceeacfadf5aac3f381b532f4664a1.tar.gz ferdium-recipes-212d5846427ceeacfadf5aac3f381b532f4664a1.tar.zst ferdium-recipes-212d5846427ceeacfadf5aac3f381b532f4664a1.zip |
Cleanup of recipes to remove 'NaN' of badge variables since this is handled in the main program.
Diffstat (limited to 'recipes/icq')
-rw-r--r-- | recipes/icq/package.json | 2 | ||||
-rw-r--r-- | recipes/icq/webview.js | 4 |
2 files changed, 1 insertions, 5 deletions
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 @@ | |||
1 | { | 1 | { |
2 | "id": "icq", | 2 | "id": "icq", |
3 | "name": "ICQ", | 3 | "name": "ICQ", |
4 | "version": "1.0.2", | 4 | "version": "1.0.3", |
5 | "license": "MIT", | 5 | "license": "MIT", |
6 | "repository": "https://github.com/meetfranz/recipe-icq", | 6 | "repository": "https://github.com/meetfranz/recipe-icq", |
7 | "config": { | 7 | "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 => { | |||
13 | } | 13 | } |
14 | } | 14 | } |
15 | 15 | ||
16 | if (isNaN(directs)) { | ||
17 | directs = 0; | ||
18 | } | ||
19 | |||
20 | Franz.setBadge(directs); | 16 | Franz.setBadge(directs); |
21 | }; | 17 | }; |
22 | 18 | ||