temp console log for mobile debug

This commit is contained in:
Henry Jameson 2023-11-20 00:17:09 +02:00
parent 38b6f0a013
commit 1931e7c3ba
1 changed files with 2 additions and 0 deletions

View File

@ -90,10 +90,12 @@ export const unseenNotificationsFromStore = store => {
export const prepareNotificationObject = (notification, i18n) => {
if (cachedBadgeUrl === null) {
const favicon = FaviconService.getOriginalFavicons()[0]
console.log('TEST FAVICON', favicon)
if (!favicon) {
cachedBadgeUrl = 'about:blank'
} else {
cachedBadgeUrl = favicon.favimg.href
console.log('TEST FAVICON', cachedBadgeUrl)
}
}