aboutsummaryrefslogtreecommitdiff
path: root/src/settings
diff options
context:
space:
mode:
authorShin'ya Ueoka <ueokande@i-beam.org>2019-04-13 09:52:04 +0900
committerShin'ya Ueoka <ueokande@i-beam.org>2019-04-14 20:42:59 +0900
commit70ab186541ef19592fdcafc859227b6753451ffa (patch)
treeff9a69ab59988c6e4bb49f3eb20a55d5ec7c8bc4 /src/settings
parent9fe09eba97e962b96088f2b79a8364d51972b58a (diff)
Relaod settings on local storage changed instead of message
Diffstat (limited to 'src/settings')
-rw-r--r--src/settings/actions/setting.js4
1 files changed, 0 insertions, 4 deletions
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);
};