ref(api): move filmstrip display notification

This commit is contained in:
Leonard Kim
2019-06-24 13:15:02 -07:00
committed by virtuacoplenny
parent 40c16f0bac
commit 3d30f6e9cd
2 changed files with 5 additions and 1 deletions
@@ -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: