aboutsummaryrefslogtreecommitdiff
path: root/src/background/Application.ts
diff options
context:
space:
mode:
authorShin'ya Ueoka <ueokande@i-beam.org>2020-02-03 19:07:55 +0900
committerShin'ya Ueoka <ueokande@i-beam.org>2020-02-03 19:08:51 +0900
commit818ba9ea1a6c46036a7ed448861217e63d3aa5be (patch)
tree947db38186678a7698ab3ec5470971b3f450e857 /src/background/Application.ts
parent02e8b55884fd530dee03613d79adad8aa9180b61 (diff)
Synchronize settings via Firefox Sync
Diffstat (limited to 'src/background/Application.ts')
-rw-r--r--src/background/Application.ts6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/background/Application.ts b/src/background/Application.ts
index d5e7a67..da6bdfc 100644
--- a/src/background/Application.ts
+++ b/src/background/Application.ts
@@ -2,7 +2,7 @@ import { injectable } from 'tsyringe';
import ContentMessageListener from './infrastructures/ContentMessageListener';
import SettingController from './controllers/SettingController';
import VersionController from './controllers/VersionController';
-import LocalSettingRepository from "./repositories/LocalSettingRepository";
+import SyncSettingRepository from "./repositories/SyncSettingRepository";
@injectable()
export default class Application {
@@ -10,7 +10,7 @@ export default class Application {
private contentMessageListener: ContentMessageListener,
private settingController: SettingController,
private versionController: VersionController,
- private localSettingRepository: LocalSettingRepository
+ private syncSettingRepository: SyncSettingRepository
) {
}
@@ -25,7 +25,7 @@ export default class Application {
});
this.contentMessageListener.run();
- this.localSettingRepository.onChange(() => {
+ this.syncSettingRepository.onChange(() => {
this.settingController.reload();
});
}