use URL for original favicon instead of canvas

This commit is contained in:
Henry Jameson 2023-11-16 20:45:07 +02:00
parent a17defc5ab
commit ce17ebd3d0

View File

@ -82,7 +82,7 @@ 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 favicon = FaviconService.getOriginalFavicons()[0]
cachedBadgeUrl = favicon.favcanvas.toDataURL() cachedBadgeUrl = favicon.favimg.href
} }
const notifObj = { const notifObj = {