mirror of
https://gitcode.com/GitHub_Trending/ji/jitsi-meet.git
synced 2026-09-02 10:07:45 +00:00
22 lines
477 B
JavaScript
22 lines
477 B
JavaScript
import { ReducerRegistry } from '../base/redux';
|
|
|
|
import { LANDING_IS_SHOWN } from './actionTypes';
|
|
|
|
ReducerRegistry.register('features/landing', (state = {}, action) => {
|
|
switch (action.type) {
|
|
case LANDING_IS_SHOWN:
|
|
return {
|
|
...state,
|
|
|
|
/**
|
|
* Flag that shows that mobile landing shown shown.
|
|
*
|
|
* @type {App}
|
|
*/
|
|
landingIsShown: true
|
|
};
|
|
}
|
|
|
|
return state;
|
|
});
|