From e1b0a306a27cba2ee1eab42afe69b32f4d2634fd Mon Sep 17 00:00:00 2001 From: Sential Date: Mon, 5 Aug 2019 00:11:39 +0200 Subject: [PATCH] fix: loading settings --- src/background/user-storage.ts | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/background/user-storage.ts b/src/background/user-storage.ts index 16266cd..35accdc 100644 --- a/src/background/user-storage.ts +++ b/src/background/user-storage.ts @@ -3,10 +3,6 @@ import { isURLMatched } from "../utils/url"; import { UserSettings } from "../definitions"; export default class UserStorage { - constructor() { - this.settings = null; - } - settings: Readonly = { enabled: false, theme: { @@ -29,6 +25,7 @@ export default class UserStorage { } set($settings: Partial) { + console.log($settings); if ($settings.siteList) { if (!Array.isArray($settings.siteList)) { const list = [];