Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Commit

Permalink
Fix CallViewHeader types again
Browse files Browse the repository at this point in the history
  • Loading branch information
Palid committed Jul 26, 2021
1 parent c488769 commit 2bf64f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/views/voip/CallView/CallViewHeader.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ import WidgetAvatar from '../../avatars/WidgetAvatar';
import { IApp } from '../../../../stores/WidgetStore';
import WidgetUtils from '../../../../utils/WidgetUtils';

const callTypeTranslationByType: Record<CallType | 'widget', () => string> = {
const callTypeTranslationByType: Record<CallType | 'widget', (app?: IApp) => string> = {
[CallType.Video]: () => _t("Video Call"),
[CallType.Voice]: () => _t("Audio Call"),
'widget': (app: IApp) => WidgetUtils.getWidgetName(app),
Expand Down

0 comments on commit 2bf64f9

Please sign in to comment.