2022-10-03 17:15:47 +01:00
|
|
|
import { setAlerts } from './setter';
|
|
|
|
import { saveSettings } from './registerer';
|
2017-12-24 03:47:35 +00:00
|
|
|
|
2018-01-02 12:50:54 +00:00
|
|
|
export function changeAlerts(path, value) {
|
2017-12-24 03:47:35 +00:00
|
|
|
return dispatch => {
|
2018-01-02 12:50:54 +00:00
|
|
|
dispatch(setAlerts(path, value));
|
2017-12-24 03:47:35 +00:00
|
|
|
dispatch(saveSettings());
|
|
|
|
};
|
|
|
|
}
|
2022-10-03 17:15:47 +01:00
|
|
|
|
|
|
|
export {
|
|
|
|
CLEAR_SUBSCRIPTION,
|
|
|
|
SET_BROWSER_SUPPORT,
|
|
|
|
SET_SUBSCRIPTION,
|
|
|
|
SET_ALERTS,
|
|
|
|
} from './setter';
|
|
|
|
export { register } from './registerer';
|