use last favicon instead of first for consistency with browsers
This commit is contained in:
parent
c25170d7d9
commit
51f1f05b2d
@ -95,7 +95,8 @@ export const unseenNotificationsFromStore = store => {
|
|||||||
|
|
||||||
export const prepareNotificationObject = (notification, i18n) => {
|
export const prepareNotificationObject = (notification, i18n) => {
|
||||||
if (cachedBadgeUrl === null) {
|
if (cachedBadgeUrl === null) {
|
||||||
const favicon = FaviconService.getOriginalFavicons()[0]
|
const favicons = FaviconService.getOriginalFavicons()
|
||||||
|
const favicon = favicons[favicons.length - 1]
|
||||||
if (!favicon) {
|
if (!favicon) {
|
||||||
cachedBadgeUrl = 'about:blank'
|
cachedBadgeUrl = 'about:blank'
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user