aboutsummaryrefslogtreecommitdiff
path: root/src/background/repositories/PersistentSettingRepository.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/background/repositories/PersistentSettingRepository.ts')
-rw-r--r--src/background/repositories/PersistentSettingRepository.ts14
1 files changed, 0 insertions, 14 deletions
diff --git a/src/background/repositories/PersistentSettingRepository.ts b/src/background/repositories/PersistentSettingRepository.ts
deleted file mode 100644
index c10f2cf..0000000
--- a/src/background/repositories/PersistentSettingRepository.ts
+++ /dev/null
@@ -1,14 +0,0 @@
-import { injectable } from 'tsyringe';
-import SettingData from '../../shared/SettingData';
-
-@injectable()
-export default class SettingRepository {
- async load(): Promise<SettingData | null> {
- const { settings } = await browser.storage.local.get('settings');
- if (!settings) {
- return null;
- }
- return SettingData.fromJSON(settings as any);
- }
-}
-