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