use last favicon instead of first for consistency with browsers

This commit is contained in:
Henry Jameson 2023-11-22 22:06:56 +02:00
parent c25170d7d9
commit 51f1f05b2d
1 changed files with 2 additions and 1 deletions

View File

@ -95,7 +95,8 @@ export const unseenNotificationsFromStore = store => {
export const prepareNotificationObject = (notification, i18n) => {
if (cachedBadgeUrl === null) {
const favicon = FaviconService.getOriginalFavicons()[0]
const favicons = FaviconService.getOriginalFavicons()
const favicon = favicons[favicons.length - 1]
if (!favicon) {
cachedBadgeUrl = 'about:blank'
} else {