Show toast when group call is reconnecting

This commit is contained in:
Evan Hahn 2020-12-01 10:46:44 -06:00 committed by GitHub
parent 2b8ae412e0
commit 4c78a6c57f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 88 additions and 2 deletions

View file

@ -27,6 +27,7 @@ import { LocalizerType } from '../types/Util';
import { missingCaseError } from '../util/missingCaseError';
import { DirectCallRemoteParticipant } from './DirectCallRemoteParticipant';
import { GroupCallRemoteParticipants } from './GroupCallRemoteParticipants';
import { GroupCallToastManager } from './GroupCallToastManager';
export type PropsType = {
activeCall: ActiveCallType;
@ -224,6 +225,12 @@ export const CallScreen: React.FC<PropsType> = ({
}}
role="group"
>
{call.callMode === CallMode.Group ? (
<GroupCallToastManager
connectionState={call.connectionState}
i18n={i18n}
/>
) : null}
<div
className={classNames('module-ongoing-call__header', controlsFadeClass)}
>