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/hey/webview.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'recipes/hey/webview.js') diff --git a/recipes/hey/webview.js b/recipes/hey/webview.js index 67e87d4..d92490b 100644 --- a/recipes/hey/webview.js +++ b/recipes/hey/webview.js @@ -1,4 +1,4 @@ -module.exports = Ferdi => { +module.exports = Ferdium => { const getMessages = () => { if (document.location.href == 'https://app.hey.com/') { let screener = 0; @@ -8,7 +8,7 @@ module.exports = Ferdi => { let text = document.querySelectorAll('.btn--icon-screener')[0] .textContent; if (text) { - const parsedText = Ferdi.safeParseInt(/\d+/.exec(text)); + const parsedText = Ferdium.safeParseInt(/\d+/.exec(text)); screener = parsedText[0]; } } @@ -26,9 +26,9 @@ module.exports = Ferdi => { } } - Ferdi.setBadge(unread, screener); + Ferdium.setBadge(unread, screener); } }; - Ferdi.loop(getMessages); + Ferdium.loop(getMessages); }; -- cgit v1.2.3-54-g00ecf