Pass resizeNotifier into CallViewForARoom
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
This commit is contained in:
parent
178ae2f7bf
commit
4e9d19d3b0
2 changed files with 4 additions and 0 deletions
|
@ -169,6 +169,7 @@ export default class AuxPanel extends React.Component<IProps, IState> {
|
|||
roomId={this.props.room.roomId}
|
||||
onResize={this.props.onResize}
|
||||
maxVideoHeight={this.props.maxHeight}
|
||||
resizeNotifier={this.props.resizeNotifier}
|
||||
/>
|
||||
);
|
||||
|
||||
|
|
|
@ -19,6 +19,7 @@ import React from 'react';
|
|||
import CallHandler from '../../../CallHandler';
|
||||
import CallView from './CallView';
|
||||
import dis from '../../../dispatcher/dispatcher';
|
||||
import ResizeNotifier from "../../../utils/ResizeNotifier";
|
||||
|
||||
interface IProps {
|
||||
// What room we should display the call for
|
||||
|
@ -30,6 +31,8 @@ interface IProps {
|
|||
// a callback which is called when the content in the callview changes
|
||||
// in a way that is likely to cause a resize.
|
||||
onResize?: any;
|
||||
|
||||
resizeNotifier: ResizeNotifier,
|
||||
}
|
||||
|
||||
interface IState {
|
||||
|
|
Loading…
Reference in a new issue