aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/tweetdeck
diff options
context:
space:
mode:
authorLibravatar Vijay A <vraravam@users.noreply.github.com>2022-04-18 06:51:50 -0500
committerLibravatar Vijay A <vraravam@users.noreply.github.com>2022-04-18 06:51:50 -0500
commit18801ed0c02627e87639dc0848cab44dacc18be2 (patch)
tree15e56ba66c68bf7b4594e6c9fdef44e037b4be31 /recipes/tweetdeck
parentRemove deprecated webPreference flag (diff)
downloadferdium-recipes-18801ed0c02627e87639dc0848cab44dacc18be2.tar.gz
ferdium-recipes-18801ed0c02627e87639dc0848cab44dacc18be2.tar.zst
ferdium-recipes-18801ed0c02627e87639dc0848cab44dacc18be2.zip
Rebranded from 'ferdi' to 'ferdium' (companion changes for the main repo PR #2)
Diffstat (limited to 'recipes/tweetdeck')
-rw-r--r--recipes/tweetdeck/index.js4
-rw-r--r--recipes/tweetdeck/package.json2
-rw-r--r--recipes/tweetdeck/webview.js10
3 files changed, 8 insertions, 8 deletions
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 @@
1module.exports = Ferdi => 1module.exports = Ferdium =>
2 class Tweetdeck extends Ferdi { 2 class Tweetdeck extends Ferdium {
3 constructor(...args) { 3 constructor(...args) {
4 let _temp; 4 let _temp;
5 5
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 @@
1{ 1{
2 "id": "tweetdeck", 2 "id": "tweetdeck",
3 "name": "Tweetdeck", 3 "name": "Tweetdeck",
4 "version": "1.2.2", 4 "version": "1.3.0",
5 "license": "MIT", 5 "license": "MIT",
6 "config": { 6 "config": {
7 "serviceURL": "https://tweetdeck.twitter.com/", 7 "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 @@
1module.exports = Ferdi => { 1module.exports = Ferdium => {
2 // Tweetdeck redirect fix 2 // Tweetdeck redirect fix
3 Ferdi.ipcRenderer.on('redirect-url', (event, url) => { 3 Ferdium.ipcRenderer.on('redirect-url', (event, url) => {
4 window.location.assign(url); 4 window.location.assign(url);
5 }); 5 });
6 6
@@ -8,11 +8,11 @@ module.exports = Ferdi => {
8 const elements = document.querySelectorAll('.msg-unread-count'); 8 const elements = document.querySelectorAll('.msg-unread-count');
9 let count = 0; 9 let count = 0;
10 if (elements[0]) { 10 if (elements[0]) {
11 count = Ferdi.safeParseInt(elements[0].textContent); 11 count = Ferdium.safeParseInt(elements[0].textContent);
12 } 12 }
13 13
14 Ferdi.setBadge(count); 14 Ferdium.setBadge(count);
15 }; 15 };
16 16
17 Ferdi.loop(getMessages); 17 Ferdium.loop(getMessages);
18}; 18};