diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/background/di.ts | 2 | ||||
-rw-r--r-- | src/background/presenters/Notifier.ts | 4 |
2 files changed, 3 insertions, 3 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, diff --git a/src/background/presenters/Notifier.ts b/src/background/presenters/Notifier.ts index 2cd3225..957572d 100644 --- a/src/background/presenters/Notifier.ts +++ b/src/background/presenters/Notifier.ts @@ -30,10 +30,10 @@ export class NotifierImpl implements NotifierImpl { } async notifyInvalidSettings(onclick: () => void): Promise<void> { - const title = `Loaded settings is invalid`; + const title = `Loading settings failed`; // eslint-disable-next-line max-len const message = - "The default settings is used due to the last saved settings is invalid. Check your current settings from the add-on preference"; + "The default settings are used due to the last saved settings is invalid. Check your current settings from the add-on preference"; const listener = (id: string) => { if (id !== NOTIFICATION_ID_INVALID_SETTINGS) { |