use URL for original favicon instead of canvas
This commit is contained in:
parent
a17defc5ab
commit
ce17ebd3d0
@ -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 = {
|
||||||
|
Loading…
Reference in New Issue
Block a user