1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01:00

fix instance of browser.extension.getURL() (#14168)

This commit is contained in:
Alex Donesky 2022-03-24 09:57:24 -05:00 committed by GitHub
parent 86fb8e3a41
commit 172b9d51e6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -256,7 +256,7 @@ export default class ExtensionPlatform {
browser.notifications.create(url, {
type: 'basic',
title,
iconUrl: browser.extension.getURL('../../images/icon-64.png'),
iconUrl: browser.runtime.getURL('../../images/icon-64.png'),
message,
});
}