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/proton-mail/index.js | 2 +- recipes/proton-mail/package.json | 2 +- recipes/proton-mail/webview.js | 8 ++++---- 3 files changed, 6 insertions(+), 6 deletions(-) (limited to 'recipes/proton-mail') diff --git a/recipes/proton-mail/index.js b/recipes/proton-mail/index.js index 23607bd..dd41f72 100644 --- a/recipes/proton-mail/index.js +++ b/recipes/proton-mail/index.js @@ -1 +1 @@ -module.exports = Ferdi => Ferdi; +module.exports = Ferdium => Ferdium; diff --git a/recipes/proton-mail/package.json b/recipes/proton-mail/package.json index 4e89567..826bc72 100644 --- a/recipes/proton-mail/package.json +++ b/recipes/proton-mail/package.json @@ -1,7 +1,7 @@ { "id": "proton-mail", "name": "ProtonMail", - "version": "1.3.2", + "version": "1.4.0", "license": "MIT", "config": { "serviceURL": "https://mail.protonmail.com/login" diff --git a/recipes/proton-mail/webview.js b/recipes/proton-mail/webview.js index 455a0c4..dc3499a 100644 --- a/recipes/proton-mail/webview.js +++ b/recipes/proton-mail/webview.js @@ -1,14 +1,14 @@ -module.exports = Ferdi => { +module.exports = Ferdium => { const getMessages = () => { let unreadCount = 0; // Loop over all displayed counters and take the highest one (from the "All Mail" folder) for (const counterElement of document.querySelectorAll('.navigation-counter-item')) { - const unreadCounter = Ferdi.safeParseInt(counterElement.textContent); + const unreadCounter = Ferdium.safeParseInt(counterElement.textContent); unreadCount = Math.max(unreadCount, unreadCounter); } - Ferdi.setBadge(unreadCount); + Ferdium.setBadge(unreadCount); }; - Ferdi.loop(getMessages); + Ferdium.loop(getMessages); }; -- cgit v1.2.3-70-g09d2