2019-07-02 03:10:25 -04:00
|
|
|
import {
|
|
|
|
SET_BROWSER_SUPPORT,
|
|
|
|
SET_SUBSCRIPTION,
|
|
|
|
CLEAR_SUBSCRIPTION,
|
|
|
|
SET_ALERTS,
|
|
|
|
setAlerts,
|
2020-11-15 12:48:32 -06:00
|
|
|
} from './setter'
|
|
|
|
import { register, saveSettings } from './registerer'
|
2019-07-02 03:10:25 -04:00
|
|
|
|
|
|
|
export {
|
|
|
|
SET_BROWSER_SUPPORT,
|
|
|
|
SET_SUBSCRIPTION,
|
|
|
|
CLEAR_SUBSCRIPTION,
|
|
|
|
SET_ALERTS,
|
|
|
|
register,
|
2020-11-15 12:48:32 -06:00
|
|
|
}
|
2019-07-02 03:10:25 -04:00
|
|
|
|
2020-11-15 12:48:32 -06:00
|
|
|
export const changeAlerts = (path, value) => (dispatch) => {
|
|
|
|
dispatch(setAlerts(path, value))
|
|
|
|
dispatch(saveSettings())
|
2019-07-02 03:10:25 -04:00
|
|
|
}
|