diff options
author | Shin'ya Ueoka <ueokande@i-beam.org> | 2019-05-19 16:52:40 +0900 |
---|---|---|
committer | Shin'ya Ueoka <ueokande@i-beam.org> | 2019-05-19 19:42:36 +0900 |
commit | ced89134e32d793d8e091113cfb20867e1c3b572 (patch) | |
tree | e438a9cec18186712fae80c0726fb720dc2f7cfc /src/background/presenters/IndicatorPresenter.ts | |
parent | 3f4bc62ed515f1c5da90ee1c3e42f3d435ea6e39 (diff) |
Fix failed CircleCI
Diffstat (limited to 'src/background/presenters/IndicatorPresenter.ts')
-rw-r--r-- | src/background/presenters/IndicatorPresenter.ts | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/background/presenters/IndicatorPresenter.ts b/src/background/presenters/IndicatorPresenter.ts index 5d9c21f..1c81cf5 100644 --- a/src/background/presenters/IndicatorPresenter.ts +++ b/src/background/presenters/IndicatorPresenter.ts @@ -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 { |