aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/proton-mail
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/proton-mail')
-rw-r--r--recipes/proton-mail/package.json2
-rw-r--r--recipes/proton-mail/webview.js3
2 files changed, 1 insertions, 4 deletions
diff --git a/recipes/proton-mail/package.json b/recipes/proton-mail/package.json
index 35952fc..da08733 100644
--- a/recipes/proton-mail/package.json
+++ b/recipes/proton-mail/package.json
@@ -1,7 +1,7 @@
1{ 1{
2 "id": "proton-mail", 2 "id": "proton-mail",
3 "name": "ProtonMail", 3 "name": "ProtonMail",
4 "version": "1.2.3", 4 "version": "1.2.4",
5 "license": "MIT", 5 "license": "MIT",
6 "config": { 6 "config": {
7 "serviceURL": "https://mail.protonmail.com/login" 7 "serviceURL": "https://mail.protonmail.com/login"
diff --git a/recipes/proton-mail/webview.js b/recipes/proton-mail/webview.js
index fd1a865..2417309 100644
--- a/recipes/proton-mail/webview.js
+++ b/recipes/proton-mail/webview.js
@@ -6,9 +6,6 @@ module.exports = Franz => {
6 } 6 }
7 const text = element.innerText; 7 const text = element.innerText;
8 const count = Number(text.substring(1, text.length - 1)); 8 const count = Number(text.substring(1, text.length - 1));
9 if (Number.isNaN(count)) {
10 return;
11 }
12 Franz.setBadge(count); 9 Franz.setBadge(count);
13 } 10 }
14 11