Rocket.Chat.ReactNative/app/actions/settings.js

15 lines
216 B
JavaScript
Raw Normal View History

import { SETTINGS } from './actionsTypes';
export function addSettings(settings) {
return {
type: SETTINGS.ADD,
payload: settings
};
}
export function clearSettings() {
return {
type: SETTINGS.CLEAR
};
}