Fix indicate return values

jh-changes
Shin'ya Ueoka 7 years ago
parent 7cd606fd70
commit 6f4e327b6f
  1. 2
      src/background/controllers/addon-enabled.js
  2. 2
      src/background/usecases/addon-enabled.js

@ -6,6 +6,6 @@ export default class AddonEnabledController {
}
indicate(enabled) {
this.addonEnabledInteractor.indicate(enabled);
return this.addonEnabledInteractor.indicate(enabled);
}
}

@ -15,7 +15,7 @@ export default class AddonEnabledInteractor {
}
indicate(enabled) {
this.indicatorPresentor.indicate(enabled);
return this.indicatorPresentor.indicate(enabled);
}
onIndicatorClick(tabId) {