mirror of
https://framagit.org/tykayn/mastodon.git
synced 2023-08-25 08:33:12 +02:00
24 lines
422 B
JavaScript
24 lines
422 B
JavaScript
import {
|
|
SET_BROWSER_SUPPORT,
|
|
SET_SUBSCRIPTION,
|
|
CLEAR_SUBSCRIPTION,
|
|
SET_ALERTS,
|
|
setAlerts,
|
|
} from './setter';
|
|
import { register, saveSettings } from './registerer';
|
|
|
|
export {
|
|
SET_BROWSER_SUPPORT,
|
|
SET_SUBSCRIPTION,
|
|
CLEAR_SUBSCRIPTION,
|
|
SET_ALERTS,
|
|
register,
|
|
};
|
|
|
|
export function changeAlerts(path, value) {
|
|
return dispatch => {
|
|
dispatch(setAlerts(path, value));
|
|
dispatch(saveSettings());
|
|
};
|
|
}
|