From 70ab186541ef19592fdcafc859227b6753451ffa Mon Sep 17 00:00:00 2001 From: Shin'ya Ueoka Date: Sat, 13 Apr 2019 09:52:04 +0900 Subject: Relaod settings on local storage changed instead of message --- src/settings/actions/setting.js | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src/settings') diff --git a/src/settings/actions/setting.js b/src/settings/actions/setting.js index 3bb24be..0277159 100644 --- a/src/settings/actions/setting.js +++ b/src/settings/actions/setting.js @@ -1,5 +1,4 @@ import actions from 'settings/actions'; -import messages from 'shared/messages'; import * as validator from 'shared/settings/validator'; import KeymapsForm from '../components/form/keymaps-form'; import * as settingsValues from 'shared/settings/values'; @@ -24,9 +23,6 @@ const save = async(settings) => { }; } await settingsStorage.save(settings); - await browser.runtime.sendMessage({ - type: messages.SETTINGS_RELOAD - }); return set(settings); }; -- cgit v1.2.3