diff options
Diffstat (limited to 'recipes/fastmail')
-rw-r--r-- | recipes/fastmail/package.json | 2 | ||||
-rw-r--r-- | recipes/fastmail/webview.js | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/recipes/fastmail/package.json b/recipes/fastmail/package.json index 7a73acb..61a9587 100644 --- a/recipes/fastmail/package.json +++ b/recipes/fastmail/package.json | |||
@@ -1,7 +1,7 @@ | |||
1 | { | 1 | { |
2 | "id": "fastmail", | 2 | "id": "fastmail", |
3 | "name": "FastMail", | 3 | "name": "FastMail", |
4 | "version": "2.1.0", | 4 | "version": "2.1.1", |
5 | "license": "MIT", | 5 | "license": "MIT", |
6 | "config": { | 6 | "config": { |
7 | "serviceURL": "https://www.fastmail.com/mail/", | 7 | "serviceURL": "https://www.fastmail.com/mail/", |
diff --git a/recipes/fastmail/webview.js b/recipes/fastmail/webview.js index 46bad0d..42883e8 100644 --- a/recipes/fastmail/webview.js +++ b/recipes/fastmail/webview.js | |||
@@ -8,7 +8,7 @@ module.exports = (Ferdi) => { | |||
8 | if (!inbox) { | 8 | if (!inbox) { |
9 | return; | 9 | return; |
10 | } | 10 | } |
11 | const messages = Number(inbox.innerText); | 11 | const messages = Ferdi.safeParseInt(inbox.innerText); |
12 | Ferdi.setBadge(messages); | 12 | Ferdi.setBadge(messages); |
13 | }; | 13 | }; |
14 | 14 | ||