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/tweetdeck/index.js | 4 ++-- recipes/tweetdeck/package.json | 2 +- recipes/tweetdeck/webview.js | 10 +++++----- 3 files changed, 8 insertions(+), 8 deletions(-) (limited to 'recipes/tweetdeck') diff --git a/recipes/tweetdeck/index.js b/recipes/tweetdeck/index.js index f54a64a..89cfd18 100644 --- a/recipes/tweetdeck/index.js +++ b/recipes/tweetdeck/index.js @@ -1,5 +1,5 @@ -module.exports = Ferdi => - class Tweetdeck extends Ferdi { +module.exports = Ferdium => + class Tweetdeck extends Ferdium { constructor(...args) { let _temp; diff --git a/recipes/tweetdeck/package.json b/recipes/tweetdeck/package.json index 2fc57fd..b082b40 100644 --- a/recipes/tweetdeck/package.json +++ b/recipes/tweetdeck/package.json @@ -1,7 +1,7 @@ { "id": "tweetdeck", "name": "Tweetdeck", - "version": "1.2.2", + "version": "1.3.0", "license": "MIT", "config": { "serviceURL": "https://tweetdeck.twitter.com/", diff --git a/recipes/tweetdeck/webview.js b/recipes/tweetdeck/webview.js index 7f99509..7e2a067 100644 --- a/recipes/tweetdeck/webview.js +++ b/recipes/tweetdeck/webview.js @@ -1,6 +1,6 @@ -module.exports = Ferdi => { +module.exports = Ferdium => { // Tweetdeck redirect fix - Ferdi.ipcRenderer.on('redirect-url', (event, url) => { + Ferdium.ipcRenderer.on('redirect-url', (event, url) => { window.location.assign(url); }); @@ -8,11 +8,11 @@ module.exports = Ferdi => { const elements = document.querySelectorAll('.msg-unread-count'); let count = 0; if (elements[0]) { - count = Ferdi.safeParseInt(elements[0].textContent); + count = Ferdium.safeParseInt(elements[0].textContent); } - Ferdi.setBadge(count); + Ferdium.setBadge(count); }; - Ferdi.loop(getMessages); + Ferdium.loop(getMessages); }; -- cgit v1.2.3-70-g09d2