diff --git a/recipes/gmail/package.json b/recipes/gmail/package.json index adaa88f4e..f0ed4577c 100644 --- a/recipes/gmail/package.json +++ b/recipes/gmail/package.json @@ -1,7 +1,7 @@ { "id": "gmail", "name": "Gmail", - "version": "1.6.1", + "version": "1.6.2", "license": "MIT", "config": { "serviceURL": "https://mail.google.com" diff --git a/recipes/gmail/webview.js b/recipes/gmail/webview.js index 6db2eec3e..bfa2e0668 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];