1
Fork 0

Add back the default enabled features.

This commit is contained in:
Bauke 2023-06-29 18:36:10 +02:00
parent 8fb439c98c
commit 03d737b9cf
Signed by: Bauke
GPG Key ID: C1C0F29952BCF558
1 changed files with 6 additions and 1 deletions

View File

@ -20,7 +20,12 @@ export const storageValues = {
deserialize: (input) => new Set(JSON.parse(input) as Feature[]), deserialize: (input) => new Set(JSON.parse(input) as Feature[]),
serialize: (input) => JSON.stringify(Array.from(input)), serialize: (input) => JSON.stringify(Array.from(input)),
key: Data.EnabledFeatures, key: Data.EnabledFeatures,
value: new Set([]), value: new Set([
Feature.BackToTop,
Feature.JumpToNewComment,
Feature.MarkdownToolbar,
Feature.UserLabels,
]),
storage: browser.storage.sync, storage: browser.storage.sync,
}), }),
[Data.KnownGroups]: createValue({ [Data.KnownGroups]: createValue({