ref(api): move filmstrip display notification
This commit is contained in:
parent
40c16f0bac
commit
3d30f6e9cd
|
@ -5,6 +5,7 @@ import { NOTIFY_CAMERA_ERROR, NOTIFY_MIC_ERROR } from '../base/devices';
|
|||
import { JitsiConferenceErrors } from '../base/lib-jitsi-meet';
|
||||
import { MiddlewareRegistry } from '../base/redux';
|
||||
import { SUBMIT_FEEDBACK } from '../feedback';
|
||||
import { SET_FILMSTRIP_VISIBLE } from '../filmstrip';
|
||||
|
||||
declare var APP: Object;
|
||||
|
||||
|
@ -36,6 +37,10 @@ MiddlewareRegistry.register((/* store */) => next => action => {
|
|||
}
|
||||
break;
|
||||
|
||||
case SET_FILMSTRIP_VISIBLE:
|
||||
APP.API.notifyFilmstripDisplayChanged(action.visible);
|
||||
break;
|
||||
|
||||
case SUBMIT_FEEDBACK:
|
||||
APP.API.notifyFeedbackSubmitted();
|
||||
break;
|
||||
|
|
|
@ -75,7 +75,6 @@ MiddlewareRegistry.register(store => next => action => {
|
|||
|
||||
case SET_FILMSTRIP_VISIBLE:
|
||||
VideoLayout.resizeVideoArea(true, false);
|
||||
APP.API.notifyFilmstripDisplayChanged(action.visible);
|
||||
break;
|
||||
|
||||
case TRACK_ADDED:
|
||||
|
|
Loading…
Reference in New Issue