tootlab-mastodon/app/javascript/flavours/glitch/actions/push_notifications/index.js
2023-05-28 16:38:10 +02:00

18 lines
375 B
JavaScript

import { saveSettings } from './registerer';
import { setAlerts } from './setter';
export function changeAlerts(path, value) {
return dispatch => {
dispatch(setAlerts(path, value));
dispatch(saveSettings());
};
}
export {
CLEAR_SUBSCRIPTION,
SET_BROWSER_SUPPORT,
SET_SUBSCRIPTION,
SET_ALERTS,
} from './setter';
export { register } from './registerer';