aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/gmail/webview.js
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/gmail/webview.js')
-rw-r--r--recipes/gmail/webview.js6
1 files changed, 0 insertions, 6 deletions
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 };