diff options
author | Shin'ya Ueoka <ueokande@i-beam.org> | 2020-02-09 13:43:37 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-09 13:43:37 +0900 |
commit | e9f81d2e2494396bc9ebd827ab02aa8128f1a3ac (patch) | |
tree | c6382665c547443358163cb7cbaeeaba52d688b3 /e2e/lib | |
parent | 8b9388f6e60fe67d20638f55aecb0ed1b281871a (diff) | |
parent | b2fc46ebf79ebb1ffa068fb513d1eeb9b50d7b3f (diff) |
Merge pull request #708 from ueokande/sync-storage
Synchronize settings with Firefox Sync
Diffstat (limited to 'e2e/lib')
-rw-r--r-- | e2e/lib/SettingRepository.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/e2e/lib/SettingRepository.ts b/e2e/lib/SettingRepository.ts index 9d5d5aa..3bdf6d2 100644 --- a/e2e/lib/SettingRepository.ts +++ b/e2e/lib/SettingRepository.ts @@ -8,7 +8,7 @@ export default class SettingRepository { } async saveJSON(settings: Settings): Promise<void> { - await this.browser.storage.local.set({ + await this.browser.storage.sync.set({ settings: { source: SettingSource.JSON, json: JSONTextSettings.fromSettings(settings).toJSONText(), |