Add icons to icon path when displaying notifications

This commit is contained in:
Grégory Soutadé 2017-04-17 20:39:53 +02:00
parent 562a84d984
commit 74b1010881
2 changed files with 2 additions and 2 deletions

View File

@ -7,7 +7,7 @@ chrome.runtime.onMessage.addListener(
type: "basic",
title : "gPass",
message : request.options.message,
iconUrl:chrome.extension.getURL("gpass_icon_64.png")
iconUrl:chrome.extension.getURL("icons/gpass_icon_64.png")
};
chrome.notifications.create("gPass", options, function(){});

View File

@ -7,7 +7,7 @@ browser.runtime.onMessage.addListener(
type: "basic",
title : "gPass",
message : request.options.message,
iconUrl:browser.extension.getURL("gpass_icon_64.png")
iconUrl:browser.extension.getURL("icons/gpass_icon_64.png")
};
browser.notifications.create("gPass", options);