Fix failed CircleCI
This commit is contained in:
parent
3f4bc62ed5
commit
ced89134e3
4 changed files with 28 additions and 17 deletions
|
@ -3,13 +3,13 @@ export default class IndicatorPresenter {
|
|||
let path = enabled
|
||||
? 'resources/enabled_32x32.png'
|
||||
: 'resources/disabled_32x32.png';
|
||||
if (typeof browser.browserAction.setIcon === "function") {
|
||||
if (typeof browser.browserAction.setIcon === 'function') {
|
||||
return browser.browserAction.setIcon({ path });
|
||||
}
|
||||
else {
|
||||
// setIcon not supported on Android
|
||||
return Promise.resolve();
|
||||
}
|
||||
|
||||
// setIcon not supported on Android
|
||||
return Promise.resolve();
|
||||
|
||||
}
|
||||
|
||||
onClick(listener: (arg: browser.tabs.Tab) => void): void {
|
||||
|
|
Reference in a new issue