ref(api): move filmstrip display notification

pull/4366/head
Leonard Kim 7 years ago committed by virtuacoplenny
parent 40c16f0bac
commit 3d30f6e9cd
  1. 5
      react/features/external-api/middleware.js
  2. 1
      react/features/video-layout/middleware.web.js

@ -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…
Cancel
Save