pass viewport to call panel
This commit is contained in:
@@ -1484,6 +1484,7 @@ class MessagesView extends React.Component {
|
|||||||
title={this.state.title}
|
title={this.state.title}
|
||||||
avatar={this.state.avatar || true}
|
avatar={this.state.avatar || true}
|
||||||
myUid={this.props.myUserId}
|
myUid={this.props.myUserId}
|
||||||
|
viewportWidth={this.props.viewportWidth}
|
||||||
|
|
||||||
onError={this.props.onError}
|
onError={this.props.onError}
|
||||||
onHangup={this.handleCallHangup}
|
onHangup={this.handleCallHangup}
|
||||||
@@ -1630,7 +1631,7 @@ class MessagesView extends React.Component {
|
|||||||
let messagesComponent = (
|
let messagesComponent = (
|
||||||
<>
|
<>
|
||||||
<div id="messages-container">
|
<div id="messages-container">
|
||||||
<button className={'action-button' + (this.state.showGoToLastButton ? '' : ' hidden')}
|
<button id="go-to-latest" className={'action-button' + (this.state.showGoToLastButton ? '' : ' hidden')}
|
||||||
onClick={this.goToLatestMessage}>
|
onClick={this.goToLatestMessage}>
|
||||||
<i className="material-icons">arrow_downward</i>
|
<i className="material-icons">arrow_downward</i>
|
||||||
</button>
|
</button>
|
||||||
|
|||||||
Reference in New Issue
Block a user