aboutsummaryrefslogtreecommitdiff
path: root/src/background/di.ts
diff options
context:
space:
mode:
authorShin'ya Ueoka <ueokande@i-beam.org>2020-12-13 03:35:11 +0000
committerGitHub <noreply@github.com>2020-12-13 03:35:11 +0000
commita3e59d5032535cd96303ef1471eb5d2fadec0325 (patch)
treeddfd905680d147e3649b6671f84a030bc3e4e7a2 /src/background/di.ts
parent5a0444d7bb7eae27fdca5c2be8fc3ec6c36d53bd (diff)
parenta1008121bf43fe5d17af5402d26e5ec1d2628d21 (diff)
Merge pull request #919 from ueokande/loaded-settings-is-invalid
Fix "loaded settings are invalid"
Diffstat (limited to 'src/background/di.ts')
-rw-r--r--src/background/di.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/background/di.ts b/src/background/di.ts
index efdf363..358ff1e 100644
--- a/src/background/di.ts
+++ b/src/background/di.ts
@@ -20,7 +20,7 @@ import { ZoomPresenterImpl } from "./presenters/ZoomPresenter";
import { WindowPresenterImpl } from "./presenters/WindowPresenter";
container.register("LocalSettingRepository", {
- useValue: LocalSettingRepository,
+ useClass: LocalSettingRepository,
});
container.register("SyncSettingRepository", {
useClass: SyncSettingRepository,