a couple more UI tweaks

This commit is contained in:
or-else
2022-05-28 18:50:11 -07:00
parent fec6a5bfa6
commit df460c6b61
8 changed files with 15 additions and 11 deletions
+2 -2
View File
@@ -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}
+1 -1
View File
@@ -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;