a couple more UI tweaks
This commit is contained in:
@@ -11,7 +11,7 @@ import { Drafty, Tinode } from 'tinode-sdk';
|
||||
import Alert from '../widgets/alert.jsx';
|
||||
import ContextMenu from '../widgets/context-menu.jsx';
|
||||
import ForwardDialog from '../widgets/forward-dialog.jsx';
|
||||
import IncomingCall from '../widgets/call-incoming.jsx';
|
||||
import CallIncoming from '../widgets/call-incoming.jsx';
|
||||
|
||||
import InfoView from './info-view.jsx';
|
||||
import MessagesView from './messages-view.jsx';
|
||||
@@ -1858,7 +1858,7 @@ class TinodeWeb extends React.Component {
|
||||
null
|
||||
}
|
||||
{this.state.callTopic && this.state.callState == CALL_STATE_INCOMING_RECEIVED ?
|
||||
<IncomingCall
|
||||
<CallIncoming
|
||||
tinode={this.tinode}
|
||||
onClose={this.handleCallClose}
|
||||
topic={this.state.callTopic}
|
||||
|
||||
@@ -74,7 +74,7 @@ class Contact extends React.Component {
|
||||
if (this.props.previewIsVideoCall) {
|
||||
// TODO: use words to describe call status and duration.
|
||||
preview = <CallStatus
|
||||
direction={this.props.previewIsResponse}
|
||||
incoming={this.props.previewIsResponse}
|
||||
success={true} />; // FIXME: use actuall call completion status instead of TRUE.
|
||||
} else if (typeof this.props.preview == 'string') {
|
||||
preview = this.props.preview;
|
||||
|
||||
Reference in New Issue
Block a user