aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/gmail
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/gmail')
-rw-r--r--recipes/gmail/package.json2
-rw-r--r--recipes/gmail/webview.js6
2 files changed, 1 insertions, 7 deletions
diff --git a/recipes/gmail/package.json b/recipes/gmail/package.json
index 27009af..502faff 100644
--- a/recipes/gmail/package.json
+++ b/recipes/gmail/package.json
@@ -1,7 +1,7 @@
1{ 1{
2 "id": "gmail", 2 "id": "gmail",
3 "name": "Gmail", 3 "name": "Gmail",
4 "version": "1.3.10", 4 "version": "1.3.11",
5 "license": "MIT", 5 "license": "MIT",
6 "config": { 6 "config": {
7 "serviceURL": "https://mail.google.com" 7 "serviceURL": "https://mail.google.com"
diff --git a/recipes/gmail/webview.js b/recipes/gmail/webview.js
index 681b36e..a26c7cb 100644
--- a/recipes/gmail/webview.js
+++ b/recipes/gmail/webview.js
@@ -18,12 +18,6 @@ module.exports = (Franz) => {
18 } 18 }
19 } 19 }
20 20
21 // Just incase we don't end up with a number, set it back to zero (parseInt can return NaN)
22 count = parseInt(count, 10);
23 if (isNaN(count)) {
24 count = 0;
25 }
26
27 // set Franz badge 21 // set Franz badge
28 Franz.setBadge(count); 22 Franz.setBadge(count);
29 }; 23 };