Skip to content

Commit

Permalink
Add icon-notif.png to web_accessible_resources filed so Parcel export…
Browse files Browse the repository at this point in the history
…s it
  • Loading branch information
notlmn committed Jan 3, 2022
1 parent c6d1d19 commit 0f32c26
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion source/lib/notifications-service.js
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ export async function removeNotification(notificationId) {
export function getNotificationObject(notificationInfo) {
return {
title: notificationInfo.subject.title,
iconUrl: 'icon-notif.png',
iconUrl: browser.runtime.getURL('icon-notif.png'),
type: 'basic',
message: notificationInfo.repository.full_name,
contextMessage: getNotificationReasonText(notificationInfo.reason)
Expand Down
5 changes: 4 additions & 1 deletion source/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,5 +34,8 @@
"options_ui": {
"page": "options.html",
"chrome_style": true
}
},
"web_accessible_resources": [
"icon-notif.png"
]
}

0 comments on commit 0f32c26

Please sign in to comment.