From 18801ed0c02627e87639dc0848cab44dacc18be2 Mon Sep 17 00:00:00 2001 From: Vijay A Date: Mon, 18 Apr 2022 06:51:50 -0500 Subject: Rebranded from 'ferdi' to 'ferdium' (companion changes for the main repo PR #2) --- recipes/infomaniak-mail/index.js | 2 +- recipes/infomaniak-mail/package.json | 2 +- recipes/infomaniak-mail/webview.js | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) (limited to 'recipes/infomaniak-mail') diff --git a/recipes/infomaniak-mail/index.js b/recipes/infomaniak-mail/index.js index 24184f8..dd41f72 100644 --- a/recipes/infomaniak-mail/index.js +++ b/recipes/infomaniak-mail/index.js @@ -1 +1 @@ -module.exports = Ferdi => class infomaniakmail extends Ferdi {}; +module.exports = Ferdium => Ferdium; diff --git a/recipes/infomaniak-mail/package.json b/recipes/infomaniak-mail/package.json index dae48ae..64a9e91 100644 --- a/recipes/infomaniak-mail/package.json +++ b/recipes/infomaniak-mail/package.json @@ -1,7 +1,7 @@ { "id": "infomaniak-mail", "name": "Infomaniak Mail", - "version": "1.1.2", + "version": "1.2.0", "license": "MIT", "config": { "serviceURL": "https://mail.infomaniak.com/" diff --git a/recipes/infomaniak-mail/webview.js b/recipes/infomaniak-mail/webview.js index be8053c..940eb82 100644 --- a/recipes/infomaniak-mail/webview.js +++ b/recipes/infomaniak-mail/webview.js @@ -1,9 +1,9 @@ -module.exports = Ferdi => { +module.exports = Ferdium => { const getMessages = () => { const count = document.querySelector('.ws-tree-node-badge'); const countText = count ? count.textContent : null; - Ferdi.setBadge(count && countText ? Number(countText) : 0); + Ferdium.setBadge(count && countText ? Number(countText) : 0); }; - Ferdi.loop(getMessages); + Ferdium.loop(getMessages); }; -- cgit v1.2.3-70-g09d2