From dd673c8d574aec53bec12001d084b23015ca7bd2 Mon Sep 17 00:00:00 2001 From: Feiko Joosten Date: Tue, 21 Apr 2020 20:12:20 +0200 Subject: Fix notifications for Trello (#123) - Fixed notifications for trello - Fixed the icon.png being the incorrect size. (from 600px to 1024px) --- uncompressed/trello/icon.png | Bin 4829 -> 42337 bytes uncompressed/trello/package.json | 2 +- uncompressed/trello/webview.js | 2 +- 3 files changed, 2 insertions(+), 2 deletions(-) (limited to 'uncompressed/trello') diff --git a/uncompressed/trello/icon.png b/uncompressed/trello/icon.png index 02cfa11..4eea248 100644 Binary files a/uncompressed/trello/icon.png and b/uncompressed/trello/icon.png 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 @@ { "id": "trello", "name": "Trello", - "version": "1.0.0", + "version": "1.0.1", "description": "Trello", "main": "index.js", "author": "Thom van Hal ", 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 @@ module.exports = Franz => { const getMessages = function getMessages() { - const notifications = document.querySelectorAll('.new-notifications'); + const notifications = document.querySelectorAll("[class*=_3W-zkl4-bnVKzJ]"); Franz.setBadge(0, notifications.length >= 1 ? 1 : 0); }; -- cgit v1.2.3-70-g09d2