use last favicon instead of first for consistency with browsers

neckbeard
Henry Jameson 10 months ago
parent c25170d7d9
commit 51f1f05b2d

@ -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 {

Loading…
Cancel
Save