30 lines
512 B
JavaScript
30 lines
512 B
JavaScript
// @flow
|
|
|
|
import { HIDE_APP_SETTINGS, SHOW_APP_SETTINGS } from './actionTypes';
|
|
|
|
/**
|
|
* Redux-signals the request to hide the app settings screen.
|
|
*
|
|
* @returns {{
|
|
* type: HIDE_APP_SETTINGS
|
|
* }}
|
|
*/
|
|
export function hideAppSettings() {
|
|
return {
|
|
type: HIDE_APP_SETTINGS
|
|
};
|
|
}
|
|
|
|
/**
|
|
* Redux-signals the request to open the app settings screen.
|
|
*
|
|
* @returns {{
|
|
* type: SHOW_APP_SETTINGS
|
|
* }}
|
|
*/
|
|
export function showAppSettings() {
|
|
return {
|
|
type: SHOW_APP_SETTINGS
|
|
};
|
|
}
|