2022-10-03 19:15:47 +03:00
|
|
|
import { saveSettings } from './registerer';
|
2023-05-28 17:38:10 +03:00
|
|
|
import { setAlerts } from './setter';
|
2017-12-30 19:45:01 +02:00
|
|
|
|
2018-01-09 17:48:14 +02:00
|
|
|
export function changeAlerts(path, value) {
|
2017-12-30 19:45:01 +02:00
|
|
|
return dispatch => {
|
2018-01-09 17:48:14 +02:00
|
|
|
dispatch(setAlerts(path, value));
|
2017-12-30 19:45:01 +02:00
|
|
|
dispatch(saveSettings());
|
|
|
|
};
|
|
|
|
}
|
2022-10-03 19:15:47 +03:00
|
|
|
|
|
|
|
export {
|
|
|
|
CLEAR_SUBSCRIPTION,
|
|
|
|
SET_BROWSER_SUPPORT,
|
|
|
|
SET_SUBSCRIPTION,
|
|
|
|
SET_ALERTS,
|
|
|
|
} from './setter';
|
|
|
|
export { register } from './registerer';
|