From fd1dedf1b6ff238045a771b33144377b67ac449d Mon Sep 17 00:00:00 2001 From: Vijay A Date: Mon, 15 Jan 2024 10:00:01 +0530 Subject: Fix unread counts in gmail --- recipes/gmail/webview.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'recipes/gmail/webview.js') diff --git a/recipes/gmail/webview.js b/recipes/gmail/webview.js index 6db2eec..bfa2e06 100644 --- a/recipes/gmail/webview.js +++ b/recipes/gmail/webview.js @@ -18,7 +18,9 @@ module.exports = Ferdium => { let countImportant = 0; let countNonImportant = 0; const inboxLinks = document.querySelectorAll('.J-Ke.n0'); - const spaceAndChatBadges = document.querySelectorAll('span.XU.aH6'); + const spaceAndChatBadges = document.querySelectorAll( + 'div.Xa.bSyoAf span.XU', + ); if (inboxLinks.length > 0) { const { parentNode } = inboxLinks[0]; -- cgit v1.2.3-70-g09d2