aboutsummaryrefslogtreecommitdiffstats
path: root/uncompressed
diff options
context:
space:
mode:
authorLibravatar Feiko Joosten <feiko_joosten@hotmail.com>2020-04-21 20:12:20 +0200
committerLibravatar GitHub <noreply@github.com>2020-04-21 18:12:20 +0000
commitdd673c8d574aec53bec12001d084b23015ca7bd2 (patch)
treee0bc7a05e6bf35c4e271684079376f22dae08f78 /uncompressed
parentAdd support for indirect messages in MS Teams (#124) (diff)
downloadferdium-recipes-dd673c8d574aec53bec12001d084b23015ca7bd2.tar.gz
ferdium-recipes-dd673c8d574aec53bec12001d084b23015ca7bd2.tar.zst
ferdium-recipes-dd673c8d574aec53bec12001d084b23015ca7bd2.zip
Fix notifications for Trello (#123)
- Fixed notifications for trello - Fixed the icon.png being the incorrect size. (from 600px to 1024px)
Diffstat (limited to 'uncompressed')
-rw-r--r--uncompressed/trello/icon.pngbin4829 -> 42337 bytes
-rw-r--r--uncompressed/trello/package.json2
-rw-r--r--uncompressed/trello/webview.js2
3 files changed, 2 insertions, 2 deletions
diff --git a/uncompressed/trello/icon.png b/uncompressed/trello/icon.png
index 02cfa11..4eea248 100644
--- a/uncompressed/trello/icon.png
+++ b/uncompressed/trello/icon.png
Binary files differ
diff --git a/uncompressed/trello/package.json b/uncompressed/trello/package.json
index 6cba316..9033036 100644
--- a/uncompressed/trello/package.json
+++ b/uncompressed/trello/package.json
@@ -1,7 +1,7 @@
1{ 1{
2 "id": "trello", 2 "id": "trello",
3 "name": "Trello", 3 "name": "Trello",
4 "version": "1.0.0", 4 "version": "1.0.1",
5 "description": "Trello", 5 "description": "Trello",
6 "main": "index.js", 6 "main": "index.js",
7 "author": "Thom van Hal <thom@thvmh.nl>", 7 "author": "Thom van Hal <thom@thvmh.nl>",
diff --git a/uncompressed/trello/webview.js b/uncompressed/trello/webview.js
index e8214dd..b65ea61 100644
--- a/uncompressed/trello/webview.js
+++ b/uncompressed/trello/webview.js
@@ -2,7 +2,7 @@
2 2
3module.exports = Franz => { 3module.exports = Franz => {
4 const getMessages = function getMessages() { 4 const getMessages = function getMessages() {
5 const notifications = document.querySelectorAll('.new-notifications'); 5 const notifications = document.querySelectorAll("[class*=_3W-zkl4-bnVKzJ]");
6 6
7 Franz.setBadge(0, notifications.length >= 1 ? 1 : 0); 7 Franz.setBadge(0, notifications.length >= 1 ? 1 : 0);
8 }; 8 };