Files
jitsi-meet/react/features/video-layout/actions.native.js
Horatiu Muresan 61abf0d882 feat(carmode) Add carmode screen
- opens as a modal
- lastn is 0, mutes local video while open
- long press to talk
- and more
2022-05-06 13:14:10 +03:00

20 lines
391 B
JavaScript

import { SET_CAR_MODE } from './actionTypes';
export * from './actions.any';
/**
* Creates a (redux) action which tells whether we are in carmode.
*
* @param {boolean} enabled - Whether we are in carmode.
* @returns {{
* type: SET_CAR_MODE,
* enabled: boolean
* }}
*/
export function setIsCarmode(enabled) {
return {
type: SET_CAR_MODE,
enabled
};
}